Hi!
I want to do a backup of all my project files except the JARs in
project/src/main/webapps/WEB-INF/lib directory.
However, the following Ant task (using the src property) will include
all the JARs in the backup.tar.gz:
but, the following Ant task (WITHOUT
The following message always displayed when I execute Ant,
ant backup
Buildfile: build.xml
Trying to override old definition of datatype resources
init:
backup:
[tar] Nothing to do: C:\...
BUILD SUCCESSFUL
Total time: 0 seconds
What does this really means? What should we do to resolve
Hi!
I created a JAR with the following Ant task:
The HelloWorld.jar contains two manifest files:
...
META-INF/MANIFEST.MF
HelloWorld.mf
Both manifest files are the same except that the MANIFEST.MF contains
two extra lines:
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_11-b03 (Sun Microsy
Hi!
Does it harm if we set ?
The Ant manual highly recommend to always specify soruce and target attributes.
On 1/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
First of all you have to install a Java5 Development Kit.
Having that installed as first on the PATH, Ant should do the rest
a
Hi!
How can we retrieve a list of files that has been modified, added and deleted?
Base on these lists, we would like to commit, add and delete from the SVN.
Thank you!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Original Message-
From: wolverine my [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 04, 2006 5:11 AM
To: Ant Users List
Subject: Ant build file naming convention
Hi!
When writting Ant build file, is there any naming convention that
Apache Ant Team could recommend? I'm trying to
I ha
Hi!
When writting Ant build file, is there any naming convention that
Apache Ant Team could recommend? I'm trying to
I have seen property name like "src", "src.dir", "dir.src" or
"src.path". In this case we know that "src" is the favour since it has
been used in the Ant's manual.
I also seen ta
Hi!
Is it possible to pass parameters/arguments to a Ant target?
For an example,
ant deploy localhost
where we specify the deployment server as a parameter when invoking
the "deploy" target. The "localhost" could be another property defined
in the build file,
-
Hi!
I'm using Ant 1.6.5 and I have the following directories and files
test
+ war
| |
| + WEB-INF
| + index.jsp
|
+ build.xml
note that the WEB-INF directory is empty and when executing the following task,
The index.jsp is copied into webapps/test but the
Hi!
I'm using Ant 1.6.5 and I have the following Ant task:
http://app.name>}.war" webxml="${
web.dir}/WEB-INF/web.xml">
The Ant task is executed successfully but there is no WEB-INF/lib archived
in the WAR file.
However if I delete "b.jar" from the then the WAR will contains
WEB-INF
Hi!
How can we retrieve the directory of the Java runtime which executing
the Ant's build file?
I have two Java versions installed and I would like to print the Java
runtime information when building the programs. Currently, I'm doing
this
The problem is that the JAVA_HOME is not guarante
AIL PROTECTED]> wrote:
> Hello Wolverine My,
>
> yes it is possible to extend the classpath for specific tasks. The
> task supports the following attributes :
>
> classpath
> classpathref,
> loaderref
>
> classpathref will be followed by the ID of a path defined before i
Hi!
There are times we have to explicity set the CLASSPATH before
executing Ant, e.g. specifying the 3rd party JAR where the new Ant
task is defined. Otherwise, we will hit the error 'taskdef class
ZKMTask cannot be found'.
May I know if we are able to set the CLASSPATH for so that
we don't have
13 matches
Mail list logo