|
|
|
Hello
I 've noticed some unexpected behaviour with Ant 1.5.1 's <tar > task.
I first tried
<tar destfile "${target}/test.tar.gz "
longfile "fail " compression "gzip " >
<tarfileset dir "${sourceHello
Is there a way to extract a file from a jar using ant jar task
similarly for ear and war tasks.
Thanks
Lokesh.
--
To unsubscribe e-mail <mailto ant-user-unsubscribe@(protected) >I 'm excluding some packages ant tells me the count of files it 's about to
compile (the count reflects the excluded packages) - but it builds them
anyway.
What 's going on?!
Is there a way to do the equivalent of the command (assuming Infozip 's
version)
zip -d foo.jar path/to/something.class
I was trying to avoid the unzip/delete/zip approach if I could.
Thanks
mrc
Did you manage to resolve this problem? I 'm getting exactly the same error
but haven 't managed to track down exactly where the problem lies.
Thanks
Gino
>I am getting the mentioned error during jaPlease can somebody explain what the 'update ' mode does in the <manifest > task because it doesn 't appear to modify (update?) my manifest file with new version and date/time properties when I try it.
Hi
Is there a way to update manifest only attribute information in jar file?
What I need is to have <jar > task nested element <manifest >
to have attribute mode and it value update to behave as it wHi I am a newbie to Ant user ML.
Recently I noticed ReplaceRegExp task has been added at Ant1.5.1. I tried
it and soon found it does not work for a file using Japanese characters.
When I run it it I did a little search for you
http //cvs.apache.org/viewcvs.cgi/xml-commons/src/documentation/content/xdoc
s/components/which/index.xml?rev HEAD&content-type text/vnd.viewcvs-markup
"Overview
Which
Hi
I tryed posting this message earlier...if it 's a duplicate I apologize.
I 'm currently trying to create an Ant task which in my script file stops the
Tomcat instance I have running does some
Hi
I think I 've already seen threads on this but is there a way to successfully start Tomcat from Ant without hanging the Ant script? I 'm trying to dynamically use HttpUnit to test JSP 's and need Hello
(I apologize if this is a repost. I posted it to the "Ant
archive " yahoo group yesterday but I 'm not sure if it went to
the full ant-users list.)
I 'm having trouble with the style task 's VPP the Velocity Preprocessor has just release version 1.2.0.
VPP provides general file preprocessing support based on the Velocity
Template Engine and Ant. The core funtionality is provided as a fI am using the optional FTP task (using the
NetComponents jar file) to FTP PDF files from a
Windows PC to a Unix server. The transmission
completes successfully however the files end up
being corruI 've been reading that it 's best to use the location attribute rather
than the value attribute.
Is it possible to accomplish this when using a properties file? It looks
like all properties loaded froWhen using the path element ant automatically converts the path to a
direct path is there any way to keep the path relative? I am trying to
do this for the class-path element of the manifest file soIs there a way to ignore the error status returned by a task?
I 'm using ClearCase 's <ccupdate > task and got the "lost+found " errors. These errors are basically harmless but it will fail
the build proWhere can I get org.apache.env.Which exactly. The URL is a little vague.
Thanks --DD
P \org_apache\antx >ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.5.1 compiled on ONice quiz! Missed 8. Not bad for first few days with Ant. Thanks for the
implied suggestions of what I should be thinking about knowing...
Interestingly found "Ant Developer 's Handbook " but not thOK I 'm sure this must have come up before but after trawling through the
archives for what seems like days I 've not seen an answer to this that
satisfies the problem.
What I need to be able to do
Hemm
I think there is a mistake in the first question
1. When setting a property "src.dir " to the name of a directory "source " should you use
o A. <property name "src.dir " value "source " >
oHello
I 've written supporting scripts for running commands from <exec >
detached in the background on most versions of Unix and Windows.
Commands can either be run in a new window (xterm on Unix) oCool.
Some new learned. -)
I like the description at the answers.
Jan Mat?rne
-----Urspr?ngliche Nachricht-----
Von Erik Hatcher [mailto jakarta-ant@(protected)]
Gesendet am Mittwoch Hello !
I have the following task to startup jboss from ant
<target name "jboss " >
<path id "jboss.class.path " >
<fileset dir "${ejbenv.JAVA_HOME}/lib " >
<include nameHi I am new to ant
I am able to get version 1.5 of ant to run and build my sample
application but when I try to set up 1.5.1 I get a
NoClassDefFoundError. This is the only output I receive. AThe quiz Steve and I wrote for java.sun.com has just made it online.
Test your knowledge of Ant!
http //java.sun.com/
Or more directly at
http //developer.java.sun.com/developer/Quizzes/misc/aHi
I have a /components directory under which I have /comp1 /comp2 /compx.
I want to have an ant script at the /components level that looks at every
directory under /components and run a task of Is this a bug or am I missing something? I want to create a jar file if
and only if the class files have been updated so naturally I have a target
for creating the jar file as follows
<targetHello
I 'm having trouble with the style task 's "includes " attribute.
It does what I expect when I translate one file at a time like
so
<target name "navigation " >
<style basedir "source " destdHi
in one task I set a property when an error occures.
Later I check on that property and depending if it
is set or not some actions are taken.
This build script is being used from within
CruiseCront
| |