I am certainly willing to contribute once I understand.

One thing I did learn the other day is that I can use a variable in the project.xml in the jar dependency which can be set at build time. That is one way to switch between SNAPSHOT and release mode. But Maven's use of property files does not appear as flexible as Ant, i.e., the hierarchy is built in and I don't know yet how to work around it. For instance, in my Ant files, I've recently adopted the convention of:

<property name="app.name" value="MyProject"/>
<property name="properties.dir" location="${user.home}"/>
<property file="${properties.dir}/${app.name}_build.properties"/>

This gives me an extra level of indirection and control that I needed when I wanted to use the same account on different platforms with a shared file system to build different versions of my projects. Perhaps one can do something similar in the maven.xml file, I don't know yet.

--
Erik Husby
Team Lead for Software Quality Automation
Genome Center at MIT
Rm. 2192
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to