|
|
|
I am having a problem with my environment variables.
I have ant installed in c \ant
and I have my javaSDK installed in c \javasdk
I set the JAVA_HOME path to c \javasdk
I set the ANT_HOME path to c Hi All
I have a small basic question ANT.
I have a test file which contains number of data in the
vertical direction. I want put all the data in the horizontal
direction with comma seperated.
i.e Or a nice trick
<!-- which to use -- >
<input addproperty "which " validargs "One Two Default "/ >
<!-- that?s the trick -- >
<antcall target "do${which} "/ >
<target name "doOne "/ >
<target name "doTwo "/You can use the <condition > task with <equals > to make the test beforehand
--------
<antcall target "mytarget "/ >
...
<target name "checkLabelType " >
<condition property "labelTypeIsNew " >
Ant Manifest Task Question Class path within Manifests in EJB JAR and
WAR
files
Is there a more elegant way of doing this
<path id "deploy.lib.path " >
<fileset dir "${deploy.lib.dir} " >
Is it possible using the junit task from Ant (1.6) to run a single test
method inside a TestCase class?
Ant was in my PATH twice removing the 2nd instance fixed the problem.
Matt
> -----Original Message-----
> From Matt Raible [mailto matt@(protected)]
> Sent Friday December 05 2003 2 58 PHi Kishore
<read string " > "/ > might be understood wrongly by ant and the XML Parser
before ant "sees " your buildfile.
Try this
<read string "> "/ >
Cheers
Antoine
-----Ursprungliche Nachricht--Hi Andrew
I have just had a quick look at the source code for this task.
If you download the ant source code and make a slight change in
ChangeLogTask.java
method private CVSEntry[] filterEntrHi everybody
i 'm trying to set up an SCP task in Ant 1.6. Here 's my script
<scp file "${jarName} "
todir "mylogin@(protected) /directory "
password "mypassword "
trustI want to use ant with an XML parser other than Xerces. How can I do
this?
Does anyone know how to generate a changelog for only a specific branch?
I 'm using the changelog task currently along with the xml transform the ANT
team provides to generate HTML - the problem is thaI 've need to take an action based on the value of a property
(knowing that it 's set does me no good). Jan 's response to an
earlier question looks like a viable option but is there an
easier way? For Hi all
I would like to know if it 's possible to execute a task only if the task
that it depends was succesfull ?
In fact I 've got a task that create a directory on my server and another
that uploadWith as often as this comes up should we put this in the FAQ 's?
-- Larry
> -----Original Message-----
> From Jan.Materne@(protected) [mailto Jan.Materne@(protected)]
> Sent Tuesday Decembea) without any external
You can?t
b) with <script > (needs libraries)
propnameValue project.getProperty( "prop-name ")
project.setNewProperty( "prop " propnameValue)
c) with AntContrib (externHi
I have a property where the value is the _name_ of another property.
How can I do something like
<property name "prop " value "${${prop-name}} "/ >
I want to set the property 'prop ' only once.
IHi
I was wondering if it is possible to combine the condition and copy tasks to
only perfor the copoy task if a property is set?
i.e.
if (property isset) {
copy file
}
Cheers.
Matt
_________I am having trouble setting up Ant to properly place compiled code
into the appropriate directory. I need to separate common classes for
work to be done by another team and need to access them via pHello
Has anyhone successfully held state in the form of cookies between
web-related ant tasks. I need to do the following
* hit a login url that requires username/password passed
* allow a coorun ant -debug you will see where it stops.
Also try to use FilMon.exe from sysinternals and focus on the files used by
java.exe this might give you a hint.
Cheers
Antoine
-----Ursprungliche NachHi Joseph
I am using ant and Norton Professional 2003 on Windows 2000 and I have no
special problems.
However ant 1.6 has been modified to do retries when deleting files or
creating directories
larHi folks I 'm new to the list. Been using ant for several weeks now and
started having a problem this morning that maybe someone recognizes. The
archive listing on the website is a broken link aHello
I am trying to use the metainf tag within a jar tag.
i am looking for examples and usage of this tag.
I want to add a couple of xml files to the META-INF
directory inside the jar file.
AnHi Mike
I am no great XSL expert.
Did you try the <xsl import/ > element instead of entities ?
Maybe you are having problems with the xml-apis.jar or the xercesImpl.jar
which is bundled with ant 1.5
I 'm not sure if this is something that can be answered on this list. I 'm
hoping that at least I can be pointing to a better place to ask.
I 'm delving into XSLT and have developed a transformation tIs it possible to change the "Build Successful " message at the end of a
build.
Kevin Crocker
RSS Solutions Inc.
77 Wellington Street South
Kitchener ON.
N2G 2E6
Voice (519) 746-7200 x 228
I am tring to do a http POST using the Antelop ant POST task. However I get
this error -
BUILD FAILED
java.lang.NoSuchMethodError
at org.apache.tools.ant.Project.executeTarget(Project.java 1This seems like a basic question but I haven 't been able to find it in
the user list search...
When we do a build we want to only include files that have changed when
compared to a target. The rI 'm trying to do a script to export a module using ant....
<project name "name " default "checkout " basedir ". " >
<description >
simple example build file
</description >
<property environment "
| |