[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
ResourceBundles in a Maven project  XML
Forum Index -> Development
Author Message
slist

Power User
[Avatar]

Joined: 20/03/2013 14:13:15
Messages: 37
Location: Berlin
Offline

Hi,

I stumbled upon the behavior of the Layout Editor in combination with a Maven-style project. In our project.xml we set
Code:
javasourcedirectory="<projectDir>/src/main/java"

But now, when I reference a new resource, the editor will look for the properties file in a sub dir of src/main/java. But in a Maven project, one would place those bundles in src/main/resources.
Is there any possibility to change the path the Layout Editor is looking for resources?

BR
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,
you are right - the property files are expected to be located within the source-directory. There is currently no way to tell a "resources-directory".
We can add this - for second-next build (in 1 1/2 weeks).
Regards, Björn

Björn Müller, CaptainCasa GmbH
slist

Power User
[Avatar]

Joined: 20/03/2013 14:13:15
Messages: 37
Location: Berlin
Offline

Thanks a lot!
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team