AW: Automatically extracted Ant FAQs

2011-03-16 Thread Jan.Materne
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

AW: Ant Log File Syntax Highlighting

2010-12-16 Thread Jan.Materne
>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

AW: avoid ftp get if files are too old?

2010-10-25 Thread Jan.Materne
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

AW: missing ant-starteam.jar

2010-09-14 Thread Jan.Materne
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

AW: access plugin dependencies and trigger downloading of dependencies with maven ant tasks

2010-09-07 Thread Jan.Materne
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

AW: help in copy files from list

2010-08-30 Thread Jan.Materne
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

AW: possible to recurse through directory to see if a file exists in a subdirectory

2010-08-12 Thread Jan.Materne
>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 ...

AW: ant logger

2010-07-29 Thread Jan.Materne
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.

AW: want to copy a file if it exists

2010-07-29 Thread Jan.Materne
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

AW: Unsupported class version error

2010-07-27 Thread Jan.Materne
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

AW: How to check if available java version is higher equal than a required java version?

2010-07-27 Thread Jan.Materne
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

AW: Remove duplicate JAR file names from an XML file

2010-07-26 Thread Jan.Materne
>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

AW: How can I output/write variable content onto console/into file?

2010-07-22 Thread Jan.Materne
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

AW: problem while using enviroment attributes

2010-07-19 Thread Jan.Materne
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 >

AW: APDUToolTask cannot be found.

2010-07-19 Thread Jan.Materne
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

AW: Need cross platform way of assigning users name to a property

2010-06-25 Thread Jan.Materne
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 >

AW: Setting multiple outputproperties

2010-06-23 Thread Jan.Materne
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

AW: About

2010-06-22 Thread Jan.Materne
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

AW: build process doesn't stop when an ant task failed

2010-06-22 Thread Jan.Materne
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 >

AW: fileset and java tasks?

2010-06-22 Thread Jan.Materne
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

AW: Nesting of Braces

2010-05-27 Thread Jan.Materne
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

AW: New ANT task coding guideline

2010-05-27 Thread Jan.Materne
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 >

AW: Multiple properties into one property key

2010-05-18 Thread Jan.Materne
This works for me: List: ${list} Jan >-Ursprüngliche Nachricht- >Von: Jan [mailto:raghure...@

AW: multiple switch case

2010-05-18 Thread Jan.Materne
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.

AW: AW: ant deploy to jar file

2010-05-14 Thread Jan.Materne
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

AW: ant deploy to jar file

2010-05-14 Thread Jan.Materne
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

AW: ant compile problem

2010-05-14 Thread Jan.Materne
>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

AW: Getting Property Key from Value

2010-05-10 Thread Jan.Materne
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

AW: importing ant targets from the classpath

2010-05-07 Thread Jan.Materne
>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

AW: Zip of Jars in Path?

2010-04-28 Thread Jan.Materne
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-

AW: Zip of Jars in Path?

2010-04-27 Thread Jan.Materne
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

AW: Ant project name description passed to Java file during compilation or Jar process?

2010-04-26 Thread Jan.Materne
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,

AW: Ant error while running wsdl2java in loop

2010-04-26 Thread Jan.Materne
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

AW: is ant compatible on windows7

2010-04-19 Thread Jan.Materne
> 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

AW: Best way to have a list of values in properties file

2010-04-18 Thread Jan.Materne
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

AW: where to download the latest ant-contrib-1.0b3.jar

2010-04-15 Thread Jan.Materne
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

AW: Looping number of times

2010-04-14 Thread Jan.Materne
> 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

AW: AW: Using anteater in ant

2010-04-14 Thread Jan.Materne
; 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 >

AW: Looping number of times

2010-04-13 Thread Jan.Materne
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]

AW: Using anteater in ant

2010-04-13 Thread Jan.Materne
> 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

AW: Looping number of times

2010-04-13 Thread Jan.Materne
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

AW: Looping number of times

2010-04-13 Thread Jan.Materne
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

AW: Enums Support

2010-04-11 Thread Jan.Materne
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

AW: `ant -find build.xml` and compile/recompile

2010-04-11 Thread Jan.Materne
'.' 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

AW: changing directory in Ant

2010-03-29 Thread Jan.Materne
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 -

AW: AW: Ant xmlproperty question,Please help me

2010-03-26 Thread Jan.Materne
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

AW: Ant xmlproperty question,Please help me

2010-03-26 Thread Jan.Materne
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: > >

AW: AW: http request handling

2010-03-25 Thread Jan.Materne
> 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

AW: Replace filter + strip quotes

2010-03-25 Thread Jan.Materne
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

AW: Emma errors in Hudson

2010-03-25 Thread Jan.Materne
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

AW: AW: javac output when using ant?

2010-03-24 Thread Jan.Materne
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

AW: http request handling

2010-03-24 Thread Jan.Materne
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

AW: http request handling

2010-03-24 Thread Jan.Materne
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

AW: javac output when using ant?

2010-03-24 Thread Jan.Materne
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

AW: Ant Environment

2010-03-18 Thread Jan.Materne
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 :

AW: Passing a list of files to javac

2010-03-10 Thread Jan.Materne
- <-- 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

AW: nested ant cntrib for loops

2010-03-09 Thread Jan.Materne
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

AW: Strange property bug

2010-03-08 Thread Jan.Materne
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

AW: Ant xmlproperty question

2010-02-25 Thread Jan.Materne
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

AW: Can I use path as property

2010-02-25 Thread Jan.Materne
${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

AW: Setting environment variables

2010-02-24 Thread Jan.Materne
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

AW: AW: Variables available to Beanshell scripts within Ant

2010-02-24 Thread Jan.Materne
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

AW: Variables available to Beanshell scripts within Ant

2010-02-23 Thread Jan.Materne
>From the

AW: Nested import task problem / anttask problem

2010-02-23 Thread Jan.Materne
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

AW: Ant task to get artifacts from Nexus Repository

2010-02-22 Thread Jan.Materne
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

AW: How do I use a property inside an element

2010-02-22 Thread Jan.Materne
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.

AW: Setter in my own Anttask

2010-02-11 Thread Jan.Materne
>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

AW: check property file exists and which properties are missing in Ant 1.8?

2010-02-11 Thread Jan.Materne
>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

AW: Question about simple nested text elements

2010-02-07 Thread Jan.Materne
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-

AW: Conditional help

2010-02-07 Thread Jan.Materne
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

AW: entities ?!

2010-02-05 Thread Jan.Materne
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

AW: Question about simple nested text elements

2010-02-04 Thread Jan.Materne
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

AW: Subversion and ANT

2010-02-01 Thread Jan.Materne
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

AW: javadocs of specific classes

2010-02-01 Thread Jan.Materne
> 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

AW: Add new resource to existing ResourceCollection (path) in ANT build script

2010-01-28 Thread Jan.Materne
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

AW: AW: Use the same in multiple tasks

2010-01-27 Thread Jan.Materne
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

AW: Use the same in multiple tasks

2010-01-26 Thread Jan.Materne
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

AW: Using Shellscript variable in build.xml

2010-01-22 Thread Jan.Materne
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:

AW: Creating a fileset from a list of filenames

2010-01-20 Thread Jan.Materne
>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

AW: Creating a fileset from a list of filenames

2010-01-20 Thread Jan.Materne
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

AW: split version

2010-01-18 Thread Jan.Materne
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

AW: Windows 7 and ant exec task

2009-12-22 Thread Jan.Materne
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:

AW: XSLT Task File- or Patternset

2009-12-22 Thread Jan.Materne
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

AW: AW: should ant 'id' value be a static string

2009-12-21 Thread Jan.Materne
>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

AW: Best way to have script fail if not using new enough JDK?

2009-12-21 Thread Jan.Materne
(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? >

AW: should ant 'id' value be a static string

2009-12-18 Thread Jan.Materne
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

AW: Question ant script --> extract RAR-File --> XALAN --> XSLT, XML

2009-12-17 Thread Jan.Materne
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

AW: AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Jan.Materne
>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

AW: How to know if a perticular macro is defined or not

2009-12-16 Thread Jan.Materne
>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.

AW: exec - Cannot run program 'start' CreateProcess error=2

2009-12-16 Thread Jan.Materne
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:

AW: Cruisecontrol Ant deploy application in OC4J 10.1.3

2009-12-15 Thread Jan.Materne
>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

AW: Problem with *.properties generating War

2009-12-14 Thread Jan.Materne
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

AW: build.xml file scanning

2009-12-10 Thread Jan.Materne
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

AW: Dereferencing property files

2009-12-04 Thread Jan.Materne
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-

AW: Dereferencing property files

2009-12-04 Thread Jan.Materne
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 $

AW: Dereferencing property files

2009-12-03 Thread Jan.Materne
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

AW: ForTask throwing exception for same value for begin and end

2009-11-30 Thread Jan.Materne
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

AW: Slash issue in ANT script

2009-11-29 Thread Jan.Materne
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

AW: How to do a custon task return a string

2009-11-25 Thread Jan.Materne
>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

AW: Ant API

2009-11-25 Thread Jan.Materne
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   2   3   4   5   6   7   8   9   10   >