dave,
that shows how to do token filtering, but not how to specify that maven
read in properties from a properties file.i can specify a property on
command line like:
mvn integration-test -Dwebapps.dir=/zeus/webapps
but don't know how to get maven to read in a bunch of properties from a file
regards,
John Stein
[EMAIL PROTECTED]
717.439.0787 mobile
jdsetown AIM, Yahoo IM
Dave EDMONDS PSE 54839 wrote:
John,
Take a quick peek at this page - think this does what you want...
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files?
Regards,
Dave Edmonds
ISD Software Solutions
Kent Police, UK
[EMAIL PROTECTED] 10/28/05 3:42 pm >>>
i have an antrun plugin that runs in integration test phase to copy war
file to a local webapps folder. i want each developer to be able to
specify the webapps folder. how can i get maven to read the property
${webapps.folder} out of a properties file?
i saw a post on m2 beta that suggests
<profile>
<id>env-test</id>
<activation>
<*property*>
<name>env</name>
<value>test</value>
</*property*>
</activation>
<properties>
<appProperties>test.properties</appProperties>
</properties>
</profile>
but appProperties doesn't seem to work on maven 2.0
--
John Stein
[EMAIL PROTECTED]
717.439.0787 mobile
jdsetown AIM, Yahoo IM
Perfect Order has changed its name to Versatile, which more
correctly represents the combined capabilities of Versatile
Mobile Systems and Perfect Order. From the data center to
users on the move, Versatile turns data into knowledge.
Please visit our new web site at http://www.versatile.com
This Email and any accompanying document(s) contain information from Kent
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or
bodies to whom it is addressed.
If you are not the intended recipient be aware that any disclosure, copying,
distribution or use of the contents of this information is prohibited.
If you have received this Email in error please notify us by telephone
immediately.
The copyright in the contents of this email and any enclosures is the property
of Kent Police and any unauthorised reproduction or disclosure is contrary to
the provisions of the Copyright Designs and Patents Act 1988.
Perfect Order has changed its name to Versatile, which more
correctly represents the combined capabilities of Versatile
Mobile Systems and Perfect Order. From the data center to
users on the move, Versatile turns data into knowledge.
Please visit our new web site at http://www.versatile.com