I've been trolling through the docs and mailing list archive trying to find
the answer to one question: when you invoke Ant from Maven, can you access
Maven's properties from within your Ant script?
I've found people asking the same question and some claims that this is
possible, but it doesn't seem to work for me. This means either a) the
claims that it works are wrong or b) I'm screwing something up.
Just a simple example:
My maven.xml file contains this line within a goal:
<ant antfile="build-setup.xml" target="interview" inheritAll="true"/>
In a file called build-setup.xml, I have this line within the "interview"
target:
<echo message="maven.build.dest=${maven.compile.dest}"/>
The output of this goal is:
maven.build.dest=${maven.compile.dest}
This seems to indicate that maven properties are not available to Ant (at
least the way I'm doing it). What's the current situation with this?
Thanks.
P.S. Also, talking about properties, in an archived mail, I found a
reference to a page list properties
(http://jakarta.apache.org/turbine/maven/reference/plugins/java/properties.h
tml). There does not seem to be a way to get to this page by following links
from the main site (at least, I couldn't find one). If I hadn't seen it in
that mail, I wouldn't have found it.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>