Thanks for the reply.
If my current project A has a dependency on B, whose WEB-INF/classes
does the following sentence refer to?
-------------------
warpathExcludes String The filter that determines the resources, from
the "dependent" war's WEB-INF/classes directory, to exclude from the
classpath. Note that excludes takes priority over includes. Th default is
the empty string, i.e. exclude nothing.
---------------------
My original understanding was that it would exclude those files under B
(the depended)'s WEB-INF/classes from being included in A(the
dependent)'s classpath. For example,
Project A (the dependent war)
WEB-INF/classes/jdbc.properties
Project B (the depended war)
WEB-INF/classes/jdbc.properties
<configuration>
<warpathExcludes>
jdbc.properties
</warpathExcludes>
</configuration>
which jdbc.properties will be excluded and which one will be included?
If the answer is B, then I still think the original wording is a little
bit confusing.
Chad
Matt Raible wrote:
We use dependent because it seems to work best when describing a
dependency - which is what the war is in your pom.xml.
Matt
On Tue, Apr 15, 2008 at 11:47 AM, Chad Chen <[EMAIL PROTECTED]> wrote:
Hi,
When I read the following documentation at the following URL:
http://static.appfuse.org/maven-warpath-plugin/add-classes-mojo.html
I am confused by the word "dependent" in the following context:
-----------------------------------
Optional Parameters
warpathExcludes String The filter that determines the resources, from
the "dependent" war's WEB-INF/classes directory, to exclude from the
classpath. Note that excludes takes priority over includes. Th default is
the empty string, i.e. exclude nothing.
warpathIncludes String The filter that determines the resources, from
the "dependent" war's WEB-INF/classes directory, to include on the
classpath. Default is "**".
-----------------------------------
To my understanding, the "dependent" war should be phrased as "depended"
war. Can someone please clarify this a little bit? I am happy to learn if it
is due to my poor English.
Thanks,
Chad
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]