I am using netbeans for maven project(with added wicket framework) and i want
to access something.properties from a java class.
Tried to modify pom.xml but not worked.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Accessing-properties-file-tp4518748p4518748.html
I am using netbeans for maven project(with added wicket framework) and i want
to access something.properties from a java class.
Are the properties files not being put into the output jar/war files?
Remember that Maven by default sets up a structure where *.java goes into
src/main/java and
Yes i had put it in the required folder but i think i didn't write the right
code in pom.xml.
Coiuld u please give me a sample of the code for the pom.xml for accessing
.properties file
Thanks for reply.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Accessing
Coiuld u please give me a sample of the code for the pom.xml for accessing
.properties file
Not sure what you mean, you don't usually put code in pom.xml. Look into
configuring the resource elements to include the correct file types and
folders.
- Tor Iver
I mean that if sample.properties is the required file, then how to define in
the pom.xml
The sample.properties file is in the folder src/java.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Accessing-properties-file-tp4518748p4518872.html
Sent from the Users forum
This is really a Maven question, not Wicket. You'll probably get better
answers from a Maven forum.
From: SudeepShakya shakyasud...@live.com
To: users@wicket.apache.org
Date: 03/30/2012 07:15 AM
Subject:RE: Accessing .properties file
I mean that if sample.properties