Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!

HI,
I saw this warning while running my spring mvc application.
Although i resolved it by adding the following lines to my pom.xml file :
<properties>
		
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

Open in new window


Just wondering what are the consequences of this ? And is handling this warning important ?
what does it mean to to use platform encoding ?


Thanks
Avatar of gheist
gheist
Flag of Belgium image

Consequences of change you did are that next builds will be identical on any platform you use to build the project.
Avatar of Rohit Bajaj

ASKER

can it cause errors if i used platform dependent encoding and deployed the war on some other machine... i mean is there a practical way i can see this happening.
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial