You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by samurai123 <sa...@yahoo.com> on 2009/05/19 18:13:22 UTC
Ant and Manifest
Hello,
I am using ANT 1.7.1 to build a module. It does build the module
successfully creating a manifest.cf file. I thought it will create
manifest.xml file as well but it didn't.
Does anyone know why it will not create the manifest.xml file? Is there any
way to convert the manifest.cf to manifest.xml?
PS: I am newbie to this stuff so please advise.
Thanks in advance.
--
View this message in context: http://www.nabble.com/Ant-and-Manifest-tp23619537p23619537.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Ant and Manifest
Posted by Gregory Boissinot <gr...@gmail.com>.
Is it not rather a file MANIFEST.MF located in META-INF directory?
samurai123 wrote:
>
> Hello,
>
> I am using ANT 1.7.1 to build a module. It does build the module
> successfully creating a manifest.cf file. I thought it will create
> manifest.xml file as well but it didn't.
>
> Does anyone know why it will not create the manifest.xml file? Is there
> any way to convert the manifest.cf to manifest.xml?
>
> PS: I am newbie to this stuff so please advise.
>
> Thanks in advance.
>
--
View this message in context: http://www.nabble.com/Ant-and-Manifest-tp23619537p23629891.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
AW: Ant and Manifest
Posted by Ja...@rzf.fin-nrw.de.
What are these files?
- manifest.cf
- manifest.xml
I only know the MANIFEST.MF, which is created by <jar>.
file:http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#JAR%20Manifest
Jan
>-----Ursprüngliche Nachricht-----
>Von: samurai123 [mailto:sam_nirmal@yahoo.com]
>Gesendet: Dienstag, 19. Mai 2009 18:13
>An: user@ant.apache.org
>Betreff: Ant and Manifest
>
>
>Hello,
>
>I am using ANT 1.7.1 to build a module. It does build the module
>successfully creating a manifest.cf file. I thought it will create
>manifest.xml file as well but it didn't.
>
>Does anyone know why it will not create the manifest.xml file?
>Is there any
>way to convert the manifest.cf to manifest.xml?
>
>PS: I am newbie to this stuff so please advise.
>
>Thanks in advance.
>--
>View this message in context:
>http://www.nabble.com/Ant-and-Manifest-tp23619537p23619537.html
>Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
>---------------------------------------------------------------------
>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: include path in
Posted by Gregory Boissinot <gr...@gmail.com>.
You must use
<classpath>
<path refid="apache.beehive.classpath"/>
</classpath>
or in your case, the shortcut
<classpath refid="apache.beehive.classpath" />
Cole, Derek E wrote:
>
> Hello all,
>
> I am interested in passing in a <path> reference to the <classpath> tags
> of my <java> call. How can this be done?
>
> <!-- Apache Beehive jars-->
> <path id="apache.beehive.classpath">
> <fileset dir="${apache-beehive.lib.netui.dir}">
> <include name="**/*.jar"/>
> </fileset>
> <fileset dir="${apache-beehive.lib.controls.dir}">
> <include name="*.jar"/>
> </fileset>
> </path>
>
> <echo>CP:${toString:apache.beehive.classpath}</echo>
>
> CP: outputs the correct thing, however, when I then try to use that like
>
> <classpath>
> <pathelement path="${apache.beehive.classpath}" />
> </classpath>
>
> I get this kind of error message in my log:
>
> dropping /tools/build/antstuff/apache.beehive.classpath from path as it
> doesn't exist
>
> what am I doing wrong?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Ant-and-Manifest-tp23619537p23629964.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
include path in
Posted by "Cole, Derek E" <de...@lmco.com>.
Hello all,
I am interested in passing in a <path> reference to the <classpath> tags
of my <java> call. How can this be done?
<!-- Apache Beehive jars-->
<path id="apache.beehive.classpath">
<fileset dir="${apache-beehive.lib.netui.dir}">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${apache-beehive.lib.controls.dir}">
<include name="*.jar"/>
</fileset>
</path>
<echo>CP:${toString:apache.beehive.classpath}</echo>
CP: outputs the correct thing, however, when I then try to use that like
<classpath>
<pathelement path="${apache.beehive.classpath}" />
</classpath>
I get this kind of error message in my log:
dropping /tools/build/antstuff/apache.beehive.classpath from path as it
doesn't exist
what am I doing wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org