Managing your projects

General Discussion goes here.

Moderator: robert

Managing your projects

Postby gast38 » Fri Mar 29, 2013 5:47 pm

All of your projects are created with eclipse , say it sees so because the include always the .project and classpath file . They include also a i18n folder . My question is now: are you using a plugin to manage the properties files ?
gast38
 

Re: Managing your projects

Postby robert » Sat Mar 30, 2013 1:54 am

Nope, there is no plugin. The localization files are kept in a separate folder than Java source simply for organization, and to keep Eclipse's package explorer view "clean."
User avatar
robert
 
Posts: 798
Joined: Sat May 10, 2008 5:16 pm

Re: Managing your projects

Postby Guest » Sat Mar 30, 2013 9:54 am

But how does the source files 'know' where the properties files are?
Guest
 

Re: Managing your projects

Postby robert » Sat Mar 30, 2013 2:25 pm

The properties files follow the same package structure as the source files, and when the jars are built with Ant, the class files and properties files are merged together. When you run the demo projects in Eclipse, the "i18n" folder is marked as a "source folder", so its contents get put into the bin directory just like the compiled classes do.
User avatar
robert
 
Posts: 798
Joined: Sat May 10, 2008 5:16 pm

Re: Managing your projects

Postby Guest » Sat Mar 30, 2013 9:00 pm

Ah ok thanks rob.
Guest
 


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests

cron