You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Murray, Mike" <mb...@ptc.com> on 2010/04/27 19:32:33 UTC

Zip of Jars in Path?

Is there any way to directly reference a zip of jars in a classpath
definition?  I've tried <zipfileset> and <archives>, but neither are
supported by <path>.

 

I know I can extract the zip to a folder, and include the jars using a
<fileset>.  I'm just wondering if there is a way to avoid the
extraction.

 

Thanks, Mike


RE: Zip of Jars in Path?

Posted by "Murray, Mike" <mb...@ptc.com>.
Ah, yes I'm using 1.8.0, but I forgot this is a conversion script running in an old environment, which only has 1.6.1.

Thanks and sorry, Mike

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Thursday, April 29, 2010 12:54 AM
To: user@ant.apache.org
Subject: AW: Zip of Jars in Path?

Which versino of Ant? 

>-----Ursprüngliche Nachricht-----
>Von: Murray, Mike [mailto:mbm@ptc.com] 
>Gesendet: Mittwoch, 28. April 2010 19:42
>An: Ant Users List
>Betreff: RE: Zip of Jars in Path?
>
>BUILD FAILED
>The <path> type doesn't support the nested "zipfileset" element.
>
>-----Original Message-----
>From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Sent: Wednesday, April 28, 2010 1:32 AM
>To: user@ant.apache.org
>Subject: AW: Zip of Jars in Path?
>
><path><zipfileset src="the.zip" includes="*.jar"/>
>
>Jan 
>
>>-----Ursprüngliche Nachricht-----
>>Von: Murray, Mike [mailto:mbm@ptc.com] 
>>Gesendet: Dienstag, 27. April 2010 19:33
>>An: Ant Users List
>>Betreff: Zip of Jars in Path?
>>
>>Is there any way to directly reference a zip of jars in a classpath
>>definition?  I've tried <zipfileset> and <archives>, but 
>neither are supported by <path>.
>>
>>I know I can extract the zip to a folder, and include the jars using a
>><fileset>.  I'm just wondering if there is a way to avoid the 
>extraction.
>>
>>Thanks, Mike
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


AW: Zip of Jars in Path?

Posted by Ja...@rzf.fin-nrw.de.
Which versino of Ant? 

>-----Ursprüngliche Nachricht-----
>Von: Murray, Mike [mailto:mbm@ptc.com] 
>Gesendet: Mittwoch, 28. April 2010 19:42
>An: Ant Users List
>Betreff: RE: Zip of Jars in Path?
>
>BUILD FAILED
>The <path> type doesn't support the nested "zipfileset" element.
>
>-----Original Message-----
>From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Sent: Wednesday, April 28, 2010 1:32 AM
>To: user@ant.apache.org
>Subject: AW: Zip of Jars in Path?
>
><path><zipfileset src="the.zip" includes="*.jar"/>
>
>Jan 
>
>>-----Ursprüngliche Nachricht-----
>>Von: Murray, Mike [mailto:mbm@ptc.com] 
>>Gesendet: Dienstag, 27. April 2010 19:33
>>An: Ant Users List
>>Betreff: Zip of Jars in Path?
>>
>>Is there any way to directly reference a zip of jars in a classpath
>>definition?  I've tried <zipfileset> and <archives>, but 
>neither are supported by <path>.
>>
>>I know I can extract the zip to a folder, and include the jars using a
>><fileset>.  I'm just wondering if there is a way to avoid the 
>extraction.
>>
>>Thanks, Mike
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: Zip of Jars in Path?

Posted by "Murray, Mike" <mb...@ptc.com>.
BUILD FAILED
The <path> type doesn't support the nested "zipfileset" element.

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Wednesday, April 28, 2010 1:32 AM
To: user@ant.apache.org
Subject: AW: Zip of Jars in Path?

<path><zipfileset src="the.zip" includes="*.jar"/>

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Murray, Mike [mailto:mbm@ptc.com] 
>Gesendet: Dienstag, 27. April 2010 19:33
>An: Ant Users List
>Betreff: Zip of Jars in Path?
>
>Is there any way to directly reference a zip of jars in a classpath
>definition?  I've tried <zipfileset> and <archives>, but neither are supported by <path>.
>
>I know I can extract the zip to a folder, and include the jars using a
><fileset>.  I'm just wondering if there is a way to avoid the extraction.
>
>Thanks, Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


AW: Zip of Jars in Path?

Posted by Ja...@rzf.fin-nrw.de.
<path><zipfileset src="the.zip" includes="*.jar"/>

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Murray, Mike [mailto:mbm@ptc.com] 
>Gesendet: Dienstag, 27. April 2010 19:33
>An: Ant Users List
>Betreff: Zip of Jars in Path?
>
>Is there any way to directly reference a zip of jars in a classpath
>definition?  I've tried <zipfileset> and <archives>, but neither are
>supported by <path>.
>
> 
>
>I know I can extract the zip to a folder, and include the jars using a
><fileset>.  I'm just wondering if there is a way to avoid the
>extraction.
>
> 
>
>Thanks, Mike
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org