My few ct's:
I am not sure if the question about Maven 3 ist correct in the Ant group.
http://faqcluster.com/question1764829863
The "question" is just one link.
http://faqcluster.com/question1772438546
Not sure if this Tomcat question is right in the Ant group.
http://faqcluster.com/question
>I spend a lot of time digging through Ant logs in text editors, as I'm
>sure we all do.
>
>
>I'm wondering if there exists a syntax highlighting definition
>file that
>would, for instance, add style to the targets or tasks. I think it
>would make them much easier to read.
>
>
>Does anyone kno
This will upload only the 'modified' files (independ of the date).
Jan
>-Ursprüngliche Nachricht-
>Von: dangerop [mailto:nabbl...@hotmail.com]
>Gesendet: Samstag, 9. Oktober 2010 01:34
>An: user@ant.apache.org
>Betreff: avoid ftp get if files are too old?
>
>
>Hi,
>
>I've got a situa
The StarTeam tasks moved to Sandbox in 2007 to remove external tasks where we
dont have the software for development/test from the core.
http://ant.apache.org/antlibs/sandbox.html
Jan
>-Ursprüngliche Nachricht-
>Von: Thibadeau, Daniel [mailto:dan.thibad...@hp.com]
>Gesendet: Montag, 1
I dont know the Maven tasks, but with Ivy you'll get the path with all required
libraries with
I havent found a quick way to read an existing POM ...
Jan
>-Ursprüngliche Nachricht-
>Von: Jacob Beard [mailto:jbea...@cs.mcgill.ca]
>Gesendet: Dienstag, 7. September 2010 04:58
>An: user
Depending on the syntax of your listing
could work.
Jan
>-Ursprüngliche Nachricht-
>Von: Ludwig, Michael [mailto:michael.lud...@delphi-mb.de]
>Gesendet: Donnerstag, 26. August 2010 10:13
>An: Ant Users List
>Betreff: RE: help in copy files from list
>
>> -Original Message
>I need to find out if a certain file with a standard naming
>convention exists in a subdirectory. I would like to either
>have the directory path output to either the screen or a txt
>file. Either is okay.
Quick idea is something like
You have to search for the right mapper ...
Nice.
I added it to the external page
http://code.google.com/p/antstatistics/";>AntStatistics
logs execution times for
all build targets and displays them at the end of the build.
Furthermore execution times of
past builds are collected and graphed in a chart.
Just use .
will fail if the requested file does not exist.
mailto:eric.w...@thomsonreuters.com]
>Gesendet: Donnerstag, 29. Juli 2010 23:09
>An: user@ant.apache.org
>Betreff: Ant: want to copy a file if it exists
>
>I want to check to see if a file exist and if so then copy it. What is
>the best
So try running with Java 1.5 or higher ...
Jan
>-Ursprüngliche Nachricht-
>Von: leif.lan...@gmail.com [mailto:leif.lan...@gmail.com] Im
>Auftrag von Leif Ershag
>Gesendet: Dienstag, 27. Juli 2010 14:28
>An: Ant Users List
>Betreff: Re: Unsupported class version error
>
>What java-versio
Check for Classes which are new in that specific JDK.
Jan
>-Ursprüngliche Nachricht-
>Von: Ben Stover [mailto:bxsto...@yahoo.co.uk]
>Gesendet: Dienstag, 27. Juli 2010 14:35
>An: Ant Users
>Betreff: How to check if available java version is higher
>equal than a required j
>I have an xml file which lists JAR file names in it with space
>specified as a delimiter. There are duplications of JAR files
>name in the file and I was wondering if there is a way to some
>how get ride of the duplication, to get a file which has a
>unique set of JAR file names?
>
>
>Example
too.
Personally I use if I am interested in several specific properties. If I
have a common prefix in the properties names, is more usable.
Jan
>-Ursprüngliche Nachricht-
>Von: Laura Dean [mailto:lgd...@cyrusinnovation.com]
>Gesendet: Donnerstag, 22. Juli 2010 18:28
>An: Ant Users L
This works for me:
isset: ${isset}
JAVA_HOME: ${env.JAVA_HOME}
But beware of case sensitivy of the env variable: JAVA_HOME != java_home
Jan
>-Ursprüngliche Nachricht-
>Von: gengyun [mailto:geng...@sei.pku.edu.cn]
>Gesendet: Montag, 19. Juli 2010 04:03
>
This message comes from Ant, so this (and Java also) is correctly installed.
The message sais that an extension, the task APDUToolTask can not be found.
It should also print hints where Ant looks for this task.
You should consult the manual of your project (java_card_kit) which external
tasks to
http://ant.apache.org/manual/properties.html#built-in-props
Jan
>-Ursprüngliche Nachricht-
>Von: Dean Schulze [mailto:dean_w_schu...@yahoo.com]
>Gesendet: Donnerstag, 24. Juni 2010 19:47
>An: Ant Users List
>Betreff: Re: Need cross platform way of assigning users name
>to a property
>
I would write a custom task which analyses the data and stores a bunch of
properties.
Depending on the step1prog the data-source would be a property or a file.
public class Step1ProgAnalyseTask extends Task {
private File data; // setter
private String prefix; // setter
public void ex
Havent heard from .
Have a look at elements and search for an implementing class or for
defining s or s.
Jan
>-Ursprüngliche Nachricht-
>Von: youhaodeyi [mailto:youhaod...@gmail.com]
>Gesendet: Montag, 21. Juni 2010 17:14
>An: user@ant.apache.org
>Betreff: About
>
>
>What is used fo
Are you sure that Ant continues building?
Usually Ant stops if a task gets an error ...
Maybe a wrapper script does continue working ...
Jan
>-Ursprüngliche Nachricht-
>Von: Zhu, Eddy-P65906 [mailto:eddy@gdc4s.com]
>Gesendet: Dienstag, 1. Juni 2010 19:57
>An: user@ant.apache.org
>
Jan
>-Ursprüngliche Nachricht-
>Von: Jakob Fix [mailto:jakob@gmail.com]
>Gesendet: Freitag, 4. Juni 2010 23:16
>An: Ant Users List
>Betreff: fileset and java tasks?
>
>Hi, I'd like to execute a java task on each file in a given directory,
>but I can't see how to comb
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
Jan
>-Ursprüngliche Nachricht-
>Von: GokulHCL [mailto:gokul...@gmail.com]
>Gesendet: Donnerstag, 27. Mai 2010 14:21
>An: user@ant.apache.org
>Betreff: Nesting of Braces
>
>
>Hi
>I am using ant 1.7. I have requirement to
Please have a look at https://svn.apache.org/repos/asf/ant/sandbox/autoconf/
Maybe that could help.
Jan
>-Ursprüngliche Nachricht-
>Von: Antoine Levy-Lambert [mailto:anto...@gmx.de]
>Gesendet: Mittwoch, 26. Mai 2010 17:31
>An: Ant Users List
>Betreff: Re: New ANT task coding guideline
>
This works for me:
List: ${list}
Jan
>-Ursprüngliche Nachricht-
>Von: Jan [mailto:raghure...@
It seems that this is not possible.
You could rewrite your scenario with
Jan
foo
or bar
>-Ursprüngliche Nachricht-
>Von: Marco Gutsche [mailto:marco.
I dont know JDeveloper.
Maybe you want to create a runnable JAR file.
This just is a jar file with a Main-Class entry in the manifest.
See also the 4th example in the manual.
Jan
>-Ursprüngliche Nachricht-
>Von: senzacionale2004 [mailto:mitja.bom...@gmail.com]
>Gesend
You could create a jar file with task.
But what do you mean with "deploy to jar"?
Jan
>-Ursprüngliche Nachricht-
>Von: senzacionale2004 [mailto:mitja.bom...@gmail.com]
>Gesendet: Freitag, 14. Mai 2010 13:13
>An: user@ant.apache.org
>Betreff: ant deploy to jar file
>
>
>is it possible
>i create ant build.xml file and i can compile it from jdeveloper. Build
is
>successful and classess aare copied to classess directory. But if i run
the
>same ant build.xml file from console i get message build is successful
but
>no classess are copied to class folder. After compiling in jdeveloper
Not with built-in tasks.
You could write your own task for that.
But dont forget that you can retrieve multiple keys for one value:
hostname=gold
material=gold
While the keys are unique values arent.
So your task would return a list
For implementing see the tutorial
http://ant.apache.or
>From the manual:
Jan
>-Ursprüngliche Nachricht-
>Von: Frank Wilson [mailto:fajwil...@gmail.com]
>Gesendet: Donnerstag, 6. Mai 2010 17:59
>An: user@ant.apache.org
>Betreff: importing ant targets from the classpath
>
>I would like to import ant build targets fro
Which versino of Ant?
>-Ursprüngliche Nachricht-
>Von: Murray, Mike [mailto:m...@ptc.com]
>Gesendet: Mittwoch, 28. April 2010 19:42
>An: Ant Users List
>Betreff: RE: Zip of Jars in Path?
>
>BUILD FAILED
>The type doesn't support the nested "zipfileset" element.
>
>-Original Message-
Jan
>-Ursprüngliche Nachricht-
>Von: Murray, Mike [mailto:m...@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 and , but neither are
>s
http://ant.apache.org/manual/properties.html#built-in-props
ant.project.namethe name of the project that is currently executing;
it is set in the name attribute of .
Jan
>-Ursprüngliche Nachricht-
>Von: Misha Koshelev [mailto:mk144...@bcm.edu]
>Gesendet: Montag,
Include the AntContrib jar in your -lib path and it.
Jan
>-Ursprüngliche Nachricht-
>Von: arvi [mailto:sarvi...@gmail.com]
>Gesendet: Montag, 26. April 2010 08:19
>An: user@ant.apache.org
>Betreff: Ant error while running wsdl2java in loop
>
>
>I am trying to run axis2's wsdl2java tool
> Hi,
> Is ant compatible to run to windows7?
I havent seen any problems with my buildfiles on Win7.
Jan
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
You could use XML:
one
two
three
${list.entry}
Jan
> -Ursprüngliche Nachricht-
> Von: Andy2008 [mailto:hoangt...@yahoo.com]
> Gesendet: Samstag, 17. April 2010 06:43
> An: user@ant.apache.org
> Betreff: Best way to have a list of values in properties file
>
>
> I hav
There are two ways of declaring new tasks:
- with properties files
- with antlib.xml files: since Ant 1.6
With Ant 1.6 was introduced with the notion of @{localParameter}.
is the equivalent but using the macro way.
The difference between and is that the latter creates a
new project instance
> It did work with antconrib 1.0b3
>
> I just have another question, is there a way to override jar
> in ant lib
> directory
Try
Jan
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For addi
; Say that the build fails in the match.. and thus 'var' is not
> assigned. It
> doesn't go to the if statement et all..but directly..it fails.
>
> I have put the under and thus, as soon as it
> encounters error, it goes to and fails out.
>
> -Pooja
>
Here is the my working example :
${ant.version}
i is @{i}
Buildfile: build.xml
[echo] Apache Ant version 1.7.0 compiled on December 13 2006
[echo] i is 0
[echo] i is 1
[echo] i is 2
[echo] i is 3
[echo] i is 4
[echo] i is 5
[echo]
> in match,which i could use later with condition. The
> anteater manual page (test tasks) decribes the same,
I havent found that on http://aft.sourceforge.net/ could you post the
url?
>
>
> ${var1}
>
>
>
>
>
>
>
>
>
> The same code example as been given in the manuals too.
> h
or directly from the ac-manual
The following example loops from one to ten.
i is @{i}
Jan
> -Ursprüngliche Nachricht-
> Von: Jan [mailto:raghure...@gmail.com]
> Gesendet: Montag, 12. April 2010 21:08
> An: Ant Users List
> Betreff: Looping number
Jan
> -Ursprüngliche Nachricht-
> Von: Scot P. Floess [mailto:sflo...@nc.rr.com]
> Gesendet: Montag, 12. April 2010 21:47
> An: Ant Users List
> Betreff: Re: Looping number of times
>
>
> This exact question was posted sometime back... I wrote a
> macrodef that
> does it... I bel
Enumerations are only supported when writing tasks.
For Java <5 you extend EnumeratedAttribute. Its main method (abstract in EA)
returns the list of possible values (getValues() is its name I think).
With Java5+ you could use Java enums directly.
There is no enum in properties (inside the buildfi
'.' in Ant is the dir where the build.xml is.
I tried "ant -find" from deep inside a project structure and "ant -f ..." from
outside and both resolve to the same path.
Jan
> -Ursprüngliche Nachricht-
> Von: Daniel Becroft [mailto:djcbecr...@gmail.com]
> Gesendet: Montag, 12. April 2010
Executing "cmd" is only possible if you have that executable, which is the
usual case on Windows. Because of your project paths "/" I think you are
working on Unix, so the shell executable would be "sh" or something like that.
But you cannot change the current directory.
What your would do is
-
Also, if you define Eclipse libraries only their name is referenced in the
.classpath.
You dont know the JARs then ...
Jan
> -Ursprüngliche Nachricht-
> Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
> Gesendet: Freitag, 26. März 2010 12:21
> An: Ant Users List
> Betref
Have you tried Ant4Eclipse?
http://www.ant4eclipse.org/
Jan
> -Ursprüngliche Nachricht-
> Von: amasha [mailto:amasha_z...@hotmail.com]
> Gesendet: Freitag, 26. März 2010 09:49
> An: user@ant.apache.org
> Betreff: Ant xmlproperty question,Please help me
>
>
> I have a .classpath:
>
>
> you can use to block for data; getting the values
> in depends
> on the format. Me, I have servlets that push out .properties files
>
>
> http://localhost/myapp/index.html"/>
>
Ok, so you are not reading the http request 'directly' ...
- start the http server:
- wait for him unti
If you dont need the quotes, just delete them.
Otherwise the easiest way is using a second property withouth the quotes and
use that:
# Quotes are invalid in the generated files, so provide a value without them
my.property.value=XYZ Software Company
# Original value refering to the other for DRY
The error message points to a reference "emma.lib".
Have a look where this is in your buildfile
- where to you use it
- where to you set it
Jan
> -Ursprüngliche Nachricht-
> Von: qq_nn [mailto:smile_...@163.com]
> Gesendet: Freitag, 26. März 2010 03:41
> An: user@ant.apache.org
> Betre
I got another idea. Maybe you already have the javac output but thought it was
some of Ant.
If you output is
prepare:
[echo] preparation
compile:
[echo] compiling
[javac]
[echo] finished
All javac's output is redirected to Ants logging and you'll see it prefixed
wit
Ant is a buildtool.
Letting the build waiting for incoming HTTP requests will slow down the build
and I dont see any reason why.
So could you please elaborate about your use case?
- who will create the http request
- what kind of request is it
- what data in the requests
- what should the 'handle
What is "http handling"?
Do you want that Ant does the OUTGOING request or handles the INCOMING request?
outgoing:
- core task
http://ant.apache.org/manual/CoreTasks/get.html
- http antlib
http://svn.apache.org/repos/asf/ant/sandbox/antlibs/http/
http://svn.apache.org/repos/asf/ant/sandb
have you tried -d?
Jan
> -Ursprüngliche Nachricht-
> Von: litarena [mailto:patrick_macke...@msn.com]
> Gesendet: Mittwoch, 24. März 2010 15:06
> An: user@ant.apache.org
> Betreff: javac output when using ant?
>
>
> I need more than ant -v -logfile mylogfile.txt
>
> What I need is the
You are right: you cannot change the values from Ant.
You could use the "setx" system command, so NEW processes will get the new
values.
I dont know any possibility to change the environment for RUNNING processes.
Maybe via PowerShell, WindowsManagementInstrumentation, ... a la
for(Projess p :
- <-- email is about this
+ <-- email is about this
Jan
>-Ursprüngliche Nachricht-
>Von: Robert Menteer [mailto:reet...@me.com]
>Gesendet: Mittwoch, 10. März 2010 21:28
>An: user@ant.apache.org
>Betreff: Passing a list of files to javac
>
>How can I get the javac task
Works for me. You have to provide more details ...
Jan
@{...@{j}
Buildfile: build.xml
[echo] 11
[echo] 12
[echo] 21
[echo] 22
>-Ursprüngliche Nachricht-
>Von: Klas K [mailto:k...@furingstad.nu]
>Gesendet: Mittwoch
BTW your 'exec cat' can be replaces by .
Jan
>-Ursprüngliche Nachricht-
>Von: Antoine Levy Lambert [mailto:anto...@gmx.de]
>Gesendet: Dienstag, 9. März 2010 02:32
>An: Ant Users List
>Betreff: Re: Strange property bug
>
>Hello Kim,
>
>I remember that a bug has already been filed and fix
You could try .
The solution which costs the most time is creating a XSLT which transforms that
xml into a property file. Then just load that generated property file.
Jan
>-Ursprüngliche Nachricht-
>Von: canadatom [mailto:tomoodes...@gmail.com]
>Gesendet: Donnerstag, 25. Februar 2010
${toString:base.path}
But you dont "reference" the path with toString or .
You get a property which lists all path elements.
Jan
>-Ursprüngliche Nachricht-
>Von: Murray, Mike [mailto:m...@ptc.com]
>Gesendet: Freitag, 26. Februar 2010 01:25
>An: Ant Users List
>Betreff: RE: Can I use
Option 4:
create a batch file that calls your 'setenv' and then the dmake.
Call this from Ant
call setenv.bat
call dmake ...
Jan
>-Ursprüngliche Nachricht-
>Von: Rez P [mailto:pon...@hotmail.com]
>Gesendet: Mittwoch, 24. Februar 2010 20:02
>An: Ant
Sometimes the most obvious is the strongest secret ;-)
Jan
>-Ursprüngliche Nachricht-
>Von: Scot P. Floess [mailto:sflo...@nc.rr.com]
>Gesendet: Mittwoch, 24. Februar 2010 13:37
>An: Ant Users List
>Betreff: Re: AW: Variables available to Beanshell scripts within Ant
>
>
>Jan:
>
>I feel
>From the
Not sure about the in b.xml ...
Jan
>-Ursprüngliche Nachricht-
>Von: Gopala Krishna [mailto:gopalakrishna.tani...@applabs.com]
>Gesendet: Dienstag, 23. Februar 2010 13:18
>An: user@ant.apache.org
>Betreff: Nested import task problem / anttask problem
>
>Hi,
>
>
>
>I am trying to exec
Dont forget the simple
Jan
>-Ursprüngliche Nachricht-
>Von: Matt Benson [mailto:gudnabr...@gmail.com]
>Gesendet: Donnerstag, 18. Februar 2010 18:25
>An: Ant Users List
>Betreff: Re: Ant task to get artifacts from Nexus Repository
>
>Maven Ant tasks or Ivy can pull from Nexus, which is
Could you post your code of invoking the Flex compiler? It would be easier to
help ...
For the meanwhile: you could create a textfile
${use-network}
Jan
>-Ursprüngliche Nachricht-
>Von: dfl [mailto:dfl.pr...@gmail.com]
>Gesendet: Montag, 22. Februar 2010 10:45
>An: user@ant.apache.
>I analyse a DOPE_task written for our project.
>In one of the setters an application is started.
>I have other setters that must start before this setter,
>because they have some attributes für the application.
>In what sequence the setters are executed?
IMHO not a good idea ...
What if the app
>I'm giving Ant 1.8.0 a try on a new project. I'd like to ask if there
>have been any changes for loading property files (break the build if
>they're not found)
should not.
But using the specified property file doesnt have to
exist - since a long time...
> and if ant can report on the propert
Main problem was having the nested classes as 'static.
Jan
import java.util.ArrayList;
import java.util.List;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.DataType;
public class MyTask extends Task {
// Hold a list of real Things-
Instead of first selecting a file and then checking its content I would do the
other order:
1. Select all files which contains the searchstring
2. replace the the tokens
1. is done with a selector:
2. your task, but with nested from #1
Jan
is not a XML function it is an Ant task.
The imported content is parsed by Ant and evaluated as Ant 'things'.
XML entities are available only in the specified file itself.
So use external defined entities and refer to that file (instead of )
http://ant.apache.org/faq.html#xml-entity-include
Ja
You have several things:
- add to
class MyTask extends Task { addThings(Things t)
- add to
class Things extends DataType { addThing(Thing t)
- add text to
class Thing extends DataType { addText(String t)
For documentation:
* Tutorial about writing tasks
http://ant.apache.org/manual/t
I am not sure that we have released a version of that antlib...
Jan
> -Ursprüngliche Nachricht-
> Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
> Gesendet: Montag, 1. Februar 2010 14:11
> An: Ant Users List
> Betreff: Subversion and ANT
>
> Hello,
>
> Where do I find
> 1. I have a project in which the directory structure is as follows
>
> src/mpi
> src/mpjdev
> src/runtime
> src/mpjbuf
>
> Now i want to generate the javadocs of src/mpi only. How can we do it?
What
> if i want that i want to exlude some files from the src/mpi p
I have an implementation for s: copy to a temporary and then 'rename'
Jan
>-Ursprüngliche Nachricht-
>Von: Matt Benson [mailto:gudnabr...@gmail.com]
>Gesende
Have you tried id+refid?
.
Jan
>-Ursprüngliche Nachricht-
>Von: Dean Schulze [mailto:dean_w_schu...@yahoo.com]
>Gesendet: Mittwoch, 27. Januar 2010 17:11
>An: Ant Users List
>Betreff: Re: AW: Use the same in multiple tasks
>
>Jan,
>
>I appreciate your response, but please do
Ok, you have read the manual
"This task forms an implicit FileSet and supports most attributes of
(dir becomes srcdir) as well as the nested , and
elements."
But then - directly the next paragraph:
"'s srcdir, classpath, sourcepath, bootclasspath, and extdirs attributes
are path-like structu
You must set the property in the Ant project instance.
Not familiar with the bash-syntax ... so a JS code
project.setNewProperty("KAR", KAR);
- "KAR" is the name of the Ant property
- KAR is the reference of the variable inside the block
Jan
>-Ursprüngliche Nachricht-
>Von:
>I've written a custom ant task that performs Checkstyle only
>on modified
>files. Or on files modified since some revision.
>
>The purpose is to gradually introduce a code quality policy on legacy
>projects.
>
>I plan to submit a patch back, meantime if you need it *now*,
>then email me
>(uses
Jan
>-Ursprüngliche Nachricht-
>Von: jasper.blues [mailto:jasper.reloa...@gmail.com]
>Gesendet: Mittwoch, 20. Januar 2010 08:41
>An: user@ant.apache.org
>Betreff: Re: Creating a fileset from a list of filenames
>
>
>I've written a custom ant task that performs Checkstyle o
You could try or the external task XmlTask
http://ant.apache.org/external.html#XmlTask
Jan
>-Ursprüngliche Nachricht-
>Von: jhoomshar...@netscape.net [mailto:jhoomshar...@netscape.net]
>Gesendet: Montag, 18. Januar 2010 13:45
>An: user@ant.apache.org
>Betreff: split version
>
>
>I hav
BAT files are not native executables. Execute the shell (cmd) instead with BAT
as argument.
See the FAQ.
Jan
>-Ursprüngliche Nachricht-
>Von: Thompson, Greg D. (LNG-DFW) [mailto:greg.thomp...@lexisnexis.com]
>Gesendet: Dienstag, 22. Dezember 2009 14:39
>An: Ant Users List
>Betreff: RE:
Not tested ...
Jan
>-Ursprüngliche Nachricht-
>Von: Tamer Demirel [mailto:demi...@in.tum.de]
>Gesendet: Dienstag, 22. Dezember 2009 12:23
>An: Ant Users List
>Betreff: XSLT Task File- or Patternset
>
>Hello,
>
>i like to use the file or patternset with the xslt task.
>but i
>As one kind of resolutions work and not other one.. for id's.
>Jan pl. let me know why such design..
Not sure, was before my time (2003) ;-)
Changing that would on the other hand break backwards compatibility.
Jan
-
To unsub
(see target "check_for_optional_packages" in Ants own buildfile)
Jan
>-Ursprüngliche Nachricht-
>Von: KARR, DAVID (ATTCINW) [mailto:dk0...@att.com]
>Gesendet: Montag, 21. Dezember 2009 00:45
>An: Ant Users List
>Betreff: Best way to have script fail if not using new enough JDK?
>
You can write whatever you want as "id" value.
But properties are not resolved, means the path in
has the id "${foo}" (with dollar and brackets) and not "bar".
In this sence - yes, IDs are static.
Jan
>-Ursprüngliche Nachricht-
>Von: Raja Nagendra Kumar [mailto:nagendra.r...@t
Short build file for starting point
Jan
>-Ursprüngliche Nachricht-
>Von: Tamer Demirel [mailto:demi...@in.tum.de]
>Gesendet: Donnerstag, 17. Dezember 2009 11:11
>An: Ant Users List
>Betreff: Re: Question ant script --> extract RAR-File
>It may be good idea to have api to know the list of macros
>available too (it
>may be of help in few other contexts than this).
/**
* Return the current task definition hashtable. The returned
hashtable is
* "live" and so should not be modified.
*
* @return a map of fro
>Which are the ant API we should use to know if a macro with name xyz
is
>defined or not..
>
>for knowing the existing of targets I can use project.getTargets() to
check
>out is there a similar thing for macros.
http://ant.apache.org/faq.html#CreateProcess_error_2
http://ant.apache.org/manual/CoreTasks/exec.html
"start" is not an executable. You have to start "cmd" instead and use "start"
as first argument.
Jan
>-Ursprüngliche Nachricht-
>Von: as rao [mailto:asrao.y...@gmail.com]
>Gesendet:
>Hello
>
>I am trying to deploy the application in OC4J 10.1.3 server
>using Ant tasks.
>Cruise control calls the Ant deploy target and when it gets executed it
>stalls the execution at one point. Please let me know what
>could be reason
>for this. And this happens once in a while and not frequen
Your WAR is build by
Which fileset/classes/lib should include the properties files?
Maybe this:
This relies on
Are the properties files in "${entornoBase}${salida}/${app}/${WebClassDir}"?
Maybe you must copy them to that directory (or include t
Ant is looking for a "build.xml" in the current directory.
With -f you could specify a buildfile to use.
-find will search for a "build.xml" - from the current directory up to the root
directory.
Searching from a directory deeper in the filesystem wouldnt be helpful.
If you only have a A/B/C/buil
Not sure about 1.7.1 - havent tried it.
But with trunk ;-)
Jan
>-Ursprüngliche Nachricht-
>Von: Rebhan, Gilbert [mailto:gilbert.reb...@huk-coburg.de]
>Gesendet: Freitag, 4. Dezember 2009 10:02
>An: 'Ant Users List'
>Betreff: RE: Dereferencing property files
>
>
>
>-Original Message-
AFAIK this AC:task is available for Ant earlier 1.6.
With Core: I am not up to date with all the property evaluators now in core.
You could plugin your own evaluator and do something like ${myown:name}, so
maybe a
${nested:atk-${atk.version}.exported.base.dir} would be possible. Or more nested
$
Do you mean this:
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property ?
Jan
>-Ursprüngliche Nachricht-
>Von: Dalton, Tom [mailto:tdal...@hp.com]
>Gesendet: Donnerstag, 3. Dezember 2009 10:39
>An: Ant Users List
>Betreff: RE: Dereferencing property files
>
>Should I assume
i is @{i}
With begin=end=1 you will get the error message
build.xml:2: end <= begin, step needs to be < 0
So I see two possibilities:
1) the exceptional 1-jvm-case
...
2) NullObject
Maybe your implementation c
You should always use the slash '/' and Ant will convert it on Windows.
There is only one cases (I am aware of) where you will need the 'correct' one:
if you create files for native access:
cd c:\apache-ant\1.7.1\bin
call ant.bat
You could use ${file.separator} but i think if you create ba
>let your task create a property via
>project.setNewProperty(String name, String value)
>for further use in your ant workflow.
>Create an attribute for that property and let the user decide
>how to name it, f.e.
>
>
>...
> $${bar} == ${bar}
>
>
>Regards, Gilbert
http://ant.apache.org/manual/tuto
Have a look at JavaFront
http://svn.apache.org/repos/asf/ant/sandbox/javafront/
Maybe Leafcutter will help too
https://leafcutter.dev.java.net/
When using Ant as library you should have a oata.Project instance given to the
tasks. Many problems
occur because this is not present.
Jan
>-Urs
1 - 100 of 1343 matches
Mail list logo