Good day,

Sorry, but I ran out of ideas.

But maybe archiva has some functionalities that can help you manage your
repository ( see [1] and [2] ). And if it does not, you might want to ask
for those functionalities ( see [3] ) :-)

Cheers,
Franz

[1] http://maven.apache.org/archiva/
[2] http://docs.codehaus.org/display/MAVENUSER/Archiva
[3] http://jira.codehaus.org/browse/MRM


Joseph Leniston wrote:
> 
> Hi Franz,
> 
> I thought that would be the case. I have found a bug report that describes
> my issue but it was created over a year ago so I don't hold out much hope
> of it being fixed soon.
> 
> http://jira.codehaus.org/browse/MNG-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel
> 
> We have an old application (started in the late 90's) that is built using
> ANT scripts. It would be very painful to migrate the build to Maven. So
> the next best thing is to use a maven repository for library file
> management and the dependencies task to manage the dependencies in ANT.
> 
> Up till now the library files have not been managed. The libraries used in
> the build are not the same as used at run time. Some of the library files
> required by the application are no longer maintained and I don't know what
> version they are. We also have some custom libraries. So I have created
> our own maven repository and added the libraries using artifact:install.
> It will be another exercise to get the application working with known
> versions of the libraries.
> 
> I have set the POM files up as per the instructions on
> http://maven.apache.org/ant-tasks.html. Is there another way to access the
> maven repository from within an ANT script? Any suggestions are gratefully
> received.
> 
> Thanks,
> Joseph
> 
> 
> franz see wrote:
>> 
>> Good day to you, Joseph,
>> 
>> AFAIK, you cannot control the order of the dependencies...And I can't
>> think of a workaround.
>> 
>> Curious, why use antlib for your dependency management and not use
>> maven's ?
>> 
>> Cheers,
>> Franz
>> 
>> 
>> Joseph Leniston wrote:
>>> 
>>> 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]
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Order-of-classpath-supplied-by-dependencies-ant-task-tf3184655s177.html#a8858772
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to