Hi, I am using Antlib for Maven 2.0 to do dependency management in our ant builds. I have a number of POM files for compiling common, server and client code. I also want to use maven to manage our server runtime classpath. I use the following code to get the server runtime classpath from a POM file and store it in a pathId for use later.
<artifact:dependencies pathId="cp.server.runtime.jars" filesetId="server.runtime.jars.fileset" > <remoteRepository refid="maven.repository" /> <pom file="${fetched.build.files.dir}/server_runtime_pom.xml" /> </artifact:dependencies> However if I list the contents of the cp.server.runtime.jars property the jar files are not in the order I specified: <property name="cp" refid="cp.server.runtime.jars"/> <echo message="Server Runtime Classpath is ${cp}"/> It is important that I can specify the order of the runtime jar files because there is a patch that must be first in the classpath. Is there a way to specify an order of jar files in the POM file? Or to force the dependencies to be stored in the pathID property in the same order as in the POM file? ------------------------------- This email message is intended solely for the person or entity to which it is addressed. The information it contains is confidential and may be legally privileged. Any review, retransmission, dissemination or other use of this email may be unlawful. If you are not the intended recipient, please notify us immediately and destroy the email from all sources. Thank you. Child, Youth and Family Service accepts no responsibility for changes made to this email or to any attachments after transmission from the Office. ------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]