AW: taskdef can't find junit.framework.Test

2005-06-02 Thread Jan . Materne
To really ensure that JUnit is on Ant´s classpath, you could print it out classpath: ${java.class.path} But putting junit.jar into ${user.home}/.ant/lib should help. Or starting Ant with -lib Jan > -Ursprüngliche Nachricht- > Von: Hyrum [mailto:[EMAIL PROTECTED] > Gesendet am: F

AW: Jarpend.jar

2005-05-31 Thread Jan . Materne
Never heard. Here some infos: Homepage: http://jarpend.sourceforge.net/ Project Page: http://sourceforge.net/projects/jarpend/ Short Description: Jarpend is a tool to create jar-files containing all Java classes required by a given set of classes. It also allows you to test whethe

AW: Multiple properties

2005-05-31 Thread Jan . Materne
> > Hello, I'm new to Ant and I was wondering if I can do the > following : > > > > > > > > > > yes > > > > > > no > > Can someone give me some hints how I can do this ? But you can do something like that with AntContrib. Not

AW: need help for ant scripting

2005-05-29 Thread Jan . Materne
Have also a look at Jan > -Ursprüngliche Nachricht- > Von: S I [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 25. Mai 2005 18:36 > An: user@ant.apache.org > Betreff: RE: need help for ant scripting > > Experimenting between the two ant tasks and I > found out > to be smoother i

AW: XSLT transofrmations

2005-05-25 Thread Jan . Materne
doesnt something else that your direct "java " call from command line. Jan > -Ursprüngliche Nachricht- > Von: Ammar Hedi (stu) [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 25. Mai 2005 14:26 > An: Ant Users List > Betreff: RE: XSLT transofrmations > > Is there possible to make

AW: XSLT transofrmations

2005-05-25 Thread Jan . Materne
? Jan > -Ursprüngliche Nachricht- > Von: Ammar Hedi (stu) [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 25. Mai 2005 11:31 > An: user@ant.apache.org > Betreff: XSLT transofrmations > > Hello, > I am a new user of Ant. > I want to optimize my XSLT transformations : > > " > set Jre

AW: Catch-all target?

2005-05-24 Thread Jan . Materne
Not "inside" Ant. But you could write a wrapper script converting to -D option :) Jan > -Ursprüngliche Nachricht- > Von: Jay Burgess [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 24. Mai 2005 17:26 > An: user@ant.apache.org > Betreff: Catch-all target? > > Is it possible in Ant to d

AW: Is it possible to override default attribute values for Ant t asks?

2005-05-23 Thread Jan . Materne
The other scripts should use properties than you can provide other values while invocation. master1.xml other.xml -Ursprüngliche Nachricht- > Von: Kumar, Pankaj [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 20. Mai 2005 01:32 > An: user@ant.apache.org > Betreff: Is it possibl

AW: Exclude Single Java File from Compilation

2005-05-18 Thread Jan . Materne
Maybe the compiler does that, because a compiled class depends on that? Jan > -Ursprüngliche Nachricht- > Von: Lim, Teck Hooi [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 18. Mai 2005 10:27 > An: user@ant.apache.org > Betreff: Exclude Single Java File from Compilation > > Hi, > >

AW: propertyregex: capitalizing entire string

2005-05-10 Thread Jan . Materne
You can use

AW: output of fileset

2005-05-09 Thread Jan . Materne
${fs} or beautifying the output with Jan > -Ursprüngliche Nachricht- > Von: Mark Lybarger [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 9. Mai 2005 17:41 > An: Ant Users List > Betreff: output of fileset > > is there a way i can take a fileset and output the contents

AW: AW: InstantiationException using ant.bat

2005-05-09 Thread Jan . Materne
"Nice" feature from BEA ... Jan > -Ursprüngliche Nachricht- > Von: Peter Reilly [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 9. Mai 2005 12:13 > An: Ant Users List > Betreff: Re: AW: InstantiationException using ant.bat > > Weblogic has it's own ant classess from ant 1.5.x. > This ha

AW: InstantiationException using ant.bat

2005-05-09 Thread Jan . Materne
What is your PATH, CLASSPATH and ANT_HOME? Jan > -Ursprüngliche Nachricht- > Von: Andreas Bothner [ MTN - Innovation Centre ] > [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 9. Mai 2005 11:43 > An: user@ant.apache.org > Betreff: InstantiationException using ant.bat > > > Hi, > > I e

AW: Ant paths

2005-05-04 Thread Jan . Materne
Thanks for the flowers :-) Jan > -Ursprüngliche Nachricht- > Von: Ben Gill [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 4. Mai 2005 13:21 > An: user@ant.apache.org > Betreff: Re: Ant paths > > Hi > > Yes Jan sent me a link to an article about this - it is > perfect for what I >

AW: Scripting engine in ANT core?

2005-05-04 Thread Jan . Materne
No - there is no buildin scripting language and there wont be. But you can use any BSF language on many places in Ant (). We dont want to have any dependency on delivery. And on the other hand the scripting language has to have an ASF license - otherwise we couldnt deliver it. Jan > -Ursprün

AW: Ant paths

2005-05-03 Thread Jan . Materne
You should have a look at the manual. "Developing with Ant > Tasks using Properties, Filesets & Paths" [1] shows how to deal with s and s. Jan [1] http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html > -Ursprüngliche Nachricht- > Von: Ben Gill [mailto:[EMAIL PROTECTED]

AW: Convert a path

2005-05-03 Thread Jan . Materne
uses the File.getAbsolutePath() method. That should have the platform dependend separators and roots (/, A: B: ...). So you could try a . Jan > -UrsprÃngliche Nachricht- > Von: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 3. Mai 2005 19:49 > An: Ant Users List

AW: Available Task

2005-05-03 Thread Jan . Materne
Use to find catch that class file. Transform into a property using or . After that should be your friend. Jan > -Ursprüngliche Nachricht- > Von: Stuart Harper [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 3. Mai 2005 19:39 > An: user@ant.apache.org > Betreff: Available Task > > H

AW: [Fwd: Re: problems building ant-testutil.jar]

2005-05-03 Thread Jan . Materne
I started the tutorial in BugZilla [1]. There is a ZIP file [2] containing the sources AND a version of ant-testutil.jar which I used while writing the script. But that´s only a workaround ... ant-testutil.jar is created via "build test-jar" which is not part of the official binary distribution. I

AW: dependency of jar

2005-05-02 Thread Jan . Materne
At first step of your build process copy the libx.jar into your lib directory, then define the . Copying can be done with , , , , ... depends on your server. Jan > -Ursprüngliche Nachricht- > Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 2. Mai 2005 14:5

AW: Using ANT to build Synergy applications

2005-05-01 Thread Jan . Materne
Mmh - "other languages as Synergy" ??? I thought CM Synergy is a software configuration management tool ... Jan > -Ursprüngliche Nachricht- > Von: Declan McCann [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 29. April 2005 15:31 > An: Ant Users List > Betreff: RE: Using ANT to build S

AW: html input for ?

2005-04-28 Thread Jan . Materne
Not as I´m aware of. Maybe you could use JTidy for converting from HTML to XHTML before using . Jan > -Ursprüngliche Nachricht- > Von: P-Y Foucou [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 17:35 > An: user@ant.apache.org > Betreff: html input for ? > > > Does a

AW: Looking for task to add text to file.

2005-04-28 Thread Jan . Materne
Ok - four steps back ... What is your current DTD and where you want to add the "node"? Jan > -Ursprüngliche Nachricht- > Von: Nir Geier [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 15:17 > An: Ant Users List > Betreff: RE: Looking for task to add text to file.

AW: Looking for task to add text to file.

2005-04-28 Thread Jan . Materne
I think you have misunderstood me (or vice versa :-) With a DTD like book : (chapter | comment)+ you could have a comment, but you dont have to. So you could add your "node" to the DTD and the XML would be valid - with or without the . So no change of the DTD would be needed any more. Jan >

AW: Looking for task to add text to file.

2005-04-28 Thread Jan . Materne
For manipulating the xml file I would try the xmltasks [1,2]. For the DTD - why you have to change the DTD? You can change the DTD so that it allows the have your (but it dont have to be there). Jan [1] http://ant.apache.org/external.html#xmltask [2] http://www.oopsconsultancy.com/software/xmlt

AW: Installing ant on linux 3

2005-04-28 Thread Jan . Materne
For the first start copy that snippet into your current directory: build.xml ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< Now it is ${TSTAMP} Java is ${java.version} ---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< ---

AW: Looking for task to add text to file.

2005-04-28 Thread Jan . Materne
Some possibilities which come into my mind: 1) using 2) using and filters while ing - extract part before - extract part after using to combine before, new and after parts 3) using your own task, start with http://marc.theaimsgroup.com/?l=ant-user&m=110691291123439&w=2 4) the origin

AW: Looking for task to add text to file.

2005-04-28 Thread Jan . Materne
Sorry forgotten: message Jan > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 11:39 > An: user@ant.apache.org > Betreff: AW: Looking for task to add text to file. > > message > > > Jan > > > > -Ursprüng

AW: Looking for task to add text to file.

2005-04-28 Thread Jan . Materne
message Jan > -Ursprüngliche Nachricht- > Von: Nir Geier [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 28. April 2005 12:16 > An: Ant Users List > Betreff: RE: Looking for task to add text to file. > > > Ty Gilbert. > I will look into it in details. > > > > -Original M

AW: copying multiple directories set in property

2005-04-26 Thread Jan . Materne
The only workaround is iterating for yourself, e.g. with AntContrib . (B (BJan (B (B> -Urspr$B!&(Jgliche Nachricht- (B> Von: Dies Koper [mailto:[EMAIL PROTECTED] (B> Gesendet am: Mittwoch, 27. April 2005 03:19 (B> An: user@ant.apache.org (B> Betreff: copying multiple directories s

AW: How to combine multiple file sets ?

2005-04-25 Thread Jan . Materne
Usually you use s for them ... Jan > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 25. April 2005 15:15 > An: user@ant.apache.org > Betreff: How to combine multiple file sets ? > > > > I thought I could have had something like this

AW: Unable to locate tools.jar. Expected to find it in...

2005-04-24 Thread Jan . Materne
You dont have a JDK (development kit) installed. A runtime environment doesnt have the tools.jar. Jan -Ursprüngliche Nachricht- Von: Sam Huang [mailto:[EMAIL PROTECTED] Gesendet am: Montag, 25. April 2005 08:32 An: user@ant.apache.org Betreff: Unable to locate tools.jar. Expected to fi

AW: AW: AW: Installing Ant under Windows XP

2005-04-21 Thread Jan . Materne
> *Were you installing as the Administrator or a limited access user? For Ant you dont have to be an Admin - just extract the binary distro. > *And in My Computer | Properties | Advanced Tab | Environment > Variables, did > you set the following: > > ANT_HOME=C:\wherever Ant is Would be hel

AW: AW: Installing Ant under Windows XP

2005-04-21 Thread Jan . Materne
does "java -version" work? Jan > -Ursprüngliche Nachricht- > Von: Daniele Gianni [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 21. April 2005 09:48 > An: Ant Users List > Betreff: Re: AW: Installing Ant under Windows XP > > No, I receive the same message. > > Daniele > > [EMAIL

AW: Installing Ant under Windows XP

2005-04-21 Thread Jan . Materne
can you go into ANT_HOME\bin directory and execute .\ant -version ? Jan > -Ursprüngliche Nachricht- > Von: Daniele Gianni [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 21. April 2005 09:39 > An: user@ant.apache.org > Betreff: Installing Ant under Windows XP > > Hi Ant communit

AW: New Ant Diff and Merge Tasks

2005-04-18 Thread Jan . Materne
> License: > Tasks itself is Apache, the actual Diff java code is GPL You know that if your class direcly uses GPL code it must be under GPL, too? In Ant we use reflection for using GPL classes so we dont depend on them. Jan

AW: os independent paths

2005-04-15 Thread Jan . Materne
Then Ant uses the _current_ OS... Jan > -Ursprüngliche Nachricht- > Von: Peter Reilly [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 15. April 2005 14:56 > An: Ant Users List > Betreff: Re: os independent paths > > Just use the location attribute of property: > > > > Peter > > rak

AW: os independent paths

2005-04-15 Thread Jan . Materne
Ant can work (internally) with your ${build.dir}. When you want to write the content in a platformspecific format to a file you have to specify which format to use. From where Ant should know that? Jan > -Ursprüngliche Nachricht- > Von: rakesh mailgroups [mailto:[EMAIL PROTECTED] > Gesend

AW: api ref doc

2005-04-13 Thread Jan . Materne
Sure, the JavaDocs inside the -src.zip are inside the java sources :-) Jan > -Ursprüngliche Nachricht- > Von: Conelly, Luis (GE Energy, Non GE, GENE) > [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 14. April 2005 00:04 > An: Ant Users List > Betreff: RE: api ref doc > > I was brow

AW: api ref doc

2005-04-12 Thread Jan . Materne
Download the sources and build Ant for yourself - including the JavaDocs ;-) Maybe there are some points on the Gump server ... Jan > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 13. April 2005 05:38 > An: Ant Users List > Betreff:

AW: Copy to remote machine

2005-04-12 Thread Jan . Materne
why not just ? You only have to ensure that ${target.dir} is not under your basedir (.) for recursion possibility. Jan > -Ursprüngliche Nachricht- > Von: Dick, Brian E. [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 12. April 2005 15:43 > An: Ant Users List > Betr

AW: make a dir into a war file.

2005-04-11 Thread Jan . Materne
If you running application needs a directory it should create it for itself. So it doesnt depend on a deployer - who could forget that. Jan > -Ursprüngliche Nachricht- > Von: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 11. April 2005 09:01 > An: user@ant.a

AW: custom task question

2005-04-10 Thread Jan . Materne
Just another possibility to point to the manual [1,2] ? :-) Jan [1] http://ant.apache.org/manual/tutorial-writing-tasks.html [2] http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html > -Ursprüngliche Nachricht- > Von: Greg Gimler [mailto:[EMAIL PROTECTED] > Gesendet am: F

AW: The type doesn't support the nested "echo" element

2005-04-10 Thread Jan . Materne
Cant see the mistake in THAT snippet. But I would search for a construct. Jan > -Ursprüngliche Nachricht- > Von: Kenneth McKnight [mailto:[EMAIL PROTECTED] > Gesendet am: Samstag, 9. April 2005 00:25 > An: user@ant.apache.org > Betreff: The type doesn't support the nested "echo"

AW: Ant configuration problem (tools.jar).

2005-04-08 Thread Jan . Materne
tools.jar is part of a JDK - not included in a JRE. So your JAVA_HOME should point to a JDK. Jan > -Ursprüngliche Nachricht- > Von: Graeme Shaw [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 8. April 2005 17:02 > An: user@ant.apache.org > Betreff: Ant configuration problem (tools.jar).

AW: Why don't my selectors select anything?

2005-04-01 Thread Jan . Materne
> to "\" of the current drive (C:) using "cd \". > How can this be possible if there's no real root dir on Windows? \ is the root directory of the current drive. Is it c:\ or d:\ ... you cant know that when just having a "\". Jan

AW: Why don't my selectors select anything?

2005-04-01 Thread Jan . Materne
In contrast to Unix, Windows has not real root directory. I dont think that the "Desktop" would help ... And if there is no common root directory, you cant use one fileset - you have to have multiple. ... ... Jan > ---

AW: AW: GCJ (GNUs Compiler for Java) with ANT

2005-04-01 Thread Jan . Materne
2) assume that its on the path (like cvs,svn,...) In a later step you could add a "executable" attribute. 3) But you have to test :) Jan > -Ursprün

AW: Why don't my selectors select anything?

2005-04-01 Thread Jan . Materne
> Can selectors be used to select files located in different > absolute paths > from within the same fileset? Sure - but the absolute paths must have a same root directory. Otherwise it cant be in the same fileset. > Example: I have the following files > > - /tmp/dir1/bar > - /tmp/dir2/baz >

AW: GCJ (GNUs Compiler for Java) with ANT

2005-04-01 Thread Jan . Materne
0) do a google search ... maybe there is something on the web 1) How do invoke that from command line? 2) try that inside Ant with / 3) convert that to / 4) share with us :-) Jan > -Ursprüngliche Nachricht- > Von: Danilo Bürger > [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 1. April

AW: Possible to "nest" variables?

2005-03-31 Thread Jan . Materne
see FAQ http://ant.apache.org/faq.html#propertyvalue-as-name-for-property Jan > -Ursprüngliche Nachricht- > Von: Ninju Bohra [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 1. April 2005 05:49 > An: Ant Users List > Betreff: Re: Possible to "nest" variables? > > Look at the task (part

AW: Why don't my selectors select anything?

2005-03-29 Thread Jan . Materne
You have to think about selectors like a SQL "WHERE". Without a selector you´ll get all select * from files and with selectors you´ll get only a part of that select * from files WHERE name="foo" but your logig was select * from files WHERE name="foo" and name="bar" cheers Jan > -

AW: Executing a command on a Unix/Linux box

2005-03-29 Thread Jan . Materne
Ok, then I would extend the -class and preset some values :-) Jan > -Ursprüngliche Nachricht- > Von: Simon Chappell [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 29. März 2005 16:02 > An: Ant Users List > Betreff: Re: Executing a command on a Unix/Linux box > > Not all of us are in

AW: Tomcat start/stop tasks don't work for Tomcat 5.5

2005-03-29 Thread Jan . Materne
There could be several reasons for asking here - better response - no mailing list on the other side - not registered to the other side - forgotten to use the other side But you´re right. Usually you should use the vendors mailing list (here Tomcat). But we arent so strict with that ... but then:

AW: Tomcat start/stop tasks don't work for Tomcat 5.5

2005-03-29 Thread Jan . Materne
The stacktrace shows that the Ant task tries to open a socket connection to Tomcat. So it should be possible to run Ant and Tomcat on different JVMs. Ant requires at least 1.2 (dont know what the Tomcat tasks need). Same for Tomcat - I dont know. But that should be described in Tomcats install note

AW: Executing a command on a Unix/Linux box

2005-03-28 Thread Jan . Materne
I wouldnt write a task for "just" executing that one liner. Jan > -Ursprüngliche Nachricht- > Von: Ninju Bohra [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 28. März 2005 19:38 > An: Ant Users Group > Betreff: Executing

AW: os-independent directory mapping in copy task?

2005-03-24 Thread Jan . Materne
just an idea ... could you use ${path.separator} ? Jan > -Ursprüngliche Nachricht- > Von: Peter Reilly [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 24. März 2005 11:20 > An: Ant Users List > Betreff: Re: os-independent directory mapping in copy task? > > Ant 1.6.3 will add a new

AW: Executing a task in each subdirectory

2005-03-23 Thread Jan . Materne
mmh - my first impression is that , , , , , could be helpful. Jan > -Ursprüngliche Nachricht- > Von: Nicolas Vervelle [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 23. März 2005 12:05 > An: user@ant.apache.org > Betreff: Executing a task in each subdirectory > > Hi, > > I have a d

AW: AW: Making copy NEVER overwrite

2005-03-23 Thread Jan . Materne
There are three steps in one statements: 1. select all files for the copy operation (,) - select all files which suffix is ".vcp.bak" - check by their absolute pathname a stored MD5-hashvalue - if the new computed hashvalue is not equal to the stored --> that file goes to step 2 2. cop

AW: Check for Env variables

2005-03-22 Thread Jan . Materne
output.dir=${output.dir} 1. import the environment variables with prefix "env" 2. if the OUTPUT_DIR was set, the the property output.dir to its value 3. set the output.dir to default, which only works, if not set prior. Properties are immutable. 4. Give the o

AW: Making copy NEVER overwrite

2005-03-22 Thread Jan . Materne
selector? Jan > -Ursprüngliche Nachricht- > Von: David Resnick [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 22. März 2005 14:19 > An: 'Ant Users List' > Betreff: RE: Making copy NEVER overwrite > > Thanks for the suggestion. > > The problem with that is that I would need to set

AW: Making copy NEVER overwrite

2005-03-22 Thread Jan . Materne
set the read-only flag to the files? Jan > -Ursprüngliche Nachricht- > Von: David Resnick [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 22. März 2005 11:40 > An: 'Ant Users List' > Betreff: Making copy NEVER overwrite > > I am making a backup of some files which I then filter back i

AW: how to read from an enviroment variable

2005-03-21 Thread Jan . Materne
? Jan > -Ursprüngliche Nachricht- > Von: Markus Innerebner [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 21. März 2005 15:16 > An: Ant Users List > Betreff: how to read from an enviroment variable > > how can I read an environment value which I am passing in > eclipse as a > vm ar

AW: Exec Perl Prog with Arguments

2005-03-21 Thread Jan . Materne
> My perl script renames files into files_en, so i want to > execute my perl script and that should rename all the files > ending with xsl. Why using perl? Why not a with a nested mapper? Jan

AW: Copying files through FTP to servers in different timezones

2005-03-18 Thread Jan . Materne
You have to know, that we have a B2B (brain-to-brain) connection :-) Jan > -Ursprüngliche Nachricht- > Von: Ninju Bohra [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 18. März 2005 19:04 > An: Ant Users List > Betreff: RE: Copying files through FTP to servers in > different timezones

AW: Copying files through FTP to servers in different timezones

2005-03-18 Thread Jan . Materne
Dont worry about that - the manual is not as small as some years before :-) And if that hint is enough - that´s ok. Jan > -Ursprüngliche Nachricht- > Von: Conelly, Luis (GE Energy, Non GE, GENE) > [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 18. März 2005 19:08 > An: Ant Users List >

AW: Copying files through FTP to servers in different timezones

2005-03-18 Thread Jan . Materne
Do you know the selector? Jan > -Ursprüngliche Nachricht- > Von: Conelly, Luis (GE Energy, Non GE, GENE) > [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 18. März 2005 18:54 > An: Ant Users List > Betreff: Copying files through FTP to servers in different timezones > > Hi all, > > I

AW: Get timestamping in the echo message

2005-03-18 Thread Jan . Materne
Jan > -Ursprüngliche Nachricht- > Von: Ninju Bohra [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 18. März 2005 17:45 > An: Ant Users Group > Betreff: Fwd: Get timestamping in the echo message > > It did not seem to go through the first tim

AW: Exiting ant TARGET without aborting build

2005-03-17 Thread Jan . Materne
... ... error message Jan > -Ursprüngliche Nachricht- > Von: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 17. März 2005 20:56 > An: Ant Users List > Betreff: Re: Exiting ant TARGET without aborting build > > Yeah, yeah, I know. :-) >

AW: Exiting ant task without aborting build

2005-03-16 Thread Jan . Materne
sure, while coding the task you can simply exit the execute() method without throwing a BuildException. mmh or do you mean from inside the buildfile? It cant - a task is an atomic instruction. You couldnt stop a System.out.println("test") while execution. Jan > -Ursprüngliche Nachricht

AW: Creating new JARs based on property change

2005-03-16 Thread Jan . Materne
...only jar the files... ...jar and sign... Jan > -Ursprüngliche Nachricht- > Von: Rainer Noack [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 16. März 2005 22:56 > An: 'Ant Users List' > Betreff: RE: Creating new JARs based on property change > > Holger, > > I'm not r

AW: RTFM, literally

2005-03-15 Thread Jan . Materne
> What should that be? The official homepage is http://ant.apache.org/ and the manual is on http://ant.apache.org/manual/ and the manual to sais Nested elements manifest The manifest nested

AW: compile two classes

2005-03-15 Thread Jan . Materne
it would be easier to use the as nested element of . Jan > -Ursprüngliche Nachricht- > Von: THUFIR HAWAT [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 11:39 > An: Ant Users List > Betreff: compile two classes > > build.xml: > > > > > > >

AW: question

2005-03-15 Thread Jan . Materne
? Jan > -Ursprüngliche Nachricht- > Von: rakesh mailgroups [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 11:38 > An: Ant Users List > Betreff: question > > Hi, > > I would like my build file to abort if a file does not exist. > > I couldn't find a way to find out if

AW: Using multiple if on target element

2005-03-15 Thread Jan . Materne
> I need to check whether two properties are set before executing a > task. I could check for one property using if attribute of target. How > to check for 2 properties are set ?. > I dont want to write another target to check this condition. Inside core ant you have to

AW: MS Word automation

2005-03-15 Thread Jan . Materne
You can use scripting - simply use your favorite scripting language and BSF. Then script against JaWin´s API. It´s the same as scripting against Ant´s or Java´s API :-) Jan > -Ursprüngliche Nachricht- > Von: David Resnick [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 1

AW: classloader problem

2005-03-15 Thread Jan . Materne
you have to provide a nested to . Jan > -Ursprüngliche Nachricht- > Von: ludger goeke [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 03:41 > An: user@ant.apache.org > Betreff: classloader problem > > Hallo , > > I´m using ant as development enviroment and got followin

AW: MS Word automation

2005-03-14 Thread Jan . Materne
Maybe JaWin [1] would help you a little bit... Jan [1] http://jawinproject.sourceforge.net/jawin.html#callingScript > -Ursprüngliche Nachricht- > Von: David Resnick [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 08:16 > An: 'Ant Users List' > Betreff: RE: MS Word automa

AW: AntTask - ProjectComponent.project deprecated

2005-03-14 Thread Jan . Materne
use getProject() instead fileset.getDirectoryScanner( getProject() ); Jan > -Ursprüngliche Nachricht- > Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 15. März 2005 07:25 > An: user@ant.apache.org > Betreff: AntTask - ProjectComponent.project deprecated > > >

AW: Junit Integration Problem

2005-03-14 Thread Jan . Materne
The problem is (not tested :) that the "junit" task is defined during parsing stage of the ant.jar!/.../taskdefs/default.properties. The class should be loaded then by first use of . The between wouldnt work ... IMO. For test: give it another taskname Jan > -Ursprüngliche Nachricht-

AW: import foo.jar

2005-03-14 Thread Jan . Materne
Jan > -Ursprüngliche Nachricht- > Von: THUFIR HAWAT [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 14. März 2005 11:54 > An: Ant Users List > Betreff: Re: import foo.jar > > On Mon, 14 Mar 2005 10:51:08 +, THUFIR HAWAT > <[EMAIL PROTECTED]> wrote: > > The data: > [..] > > err,

AW: Main-Class value

2005-03-14 Thread Jan . Materne
> I want a variable with the value of "atreides.xhtml." so that That value is written in the java source - the package statement. Therefore it doesnt make sense to keep in an Ant property, because you can´t change it (easily). Changing that would be part of a refactoring. Jan

AW: HelloWorldSwing.jar

2005-03-14 Thread Jan . Materne
> any critique as to my build.xml file? Yes. You´re writing a class package hello; ... public class HelloWorldSwing { ... with full qualified name hello.HelloWorldSwing, so it maps to a file hello/HelloWorldSwing.[class|java]. This relative path must be accessible via your source

AW: depends executed before if/unless

2005-03-13 Thread Jan . Materne
see also http://issues.apache.org/bugzilla/show_bug.cgi?id=33956 Jan > -Ursprüngliche Nachricht- > Von: Ninju Bohra [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 11. März 2005 19:43 > An: Ant Users List > Betreff: Re: depends executed before if/unless > > I think the problem lies in

AW: parse XML file problem

2005-03-10 Thread Jan . Materne
See http://marc.theaimsgroup.com/?l=ant-user&m=110370861426080&w=2 http://marc.theaimsgroup.com/?l=ant-user&m=109474897503807&w=2 Jan > -Ursprüngliche Nachricht- > Von: Anand Krishniyer [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 11. März 2005 04:26 > An: user@ant.apache.org > Betre

AW: AW: AW: cannot resolve symbol when overriding method.

2005-03-10 Thread Jan . Materne
if the machine has to extract four 500MB zips at the same time, there is no much room for Ant :) Jan > -Ursprüngliche Nachricht- > Von: Kristian Perkins [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 10. März 2005 11:58 > An: Ant Users List > Betreff: Re: AW: AW: cannot resolve symb

AW: AW: AW: cannot resolve symbol when overriding method.

2005-03-10 Thread Jan . Materne
Ok, verified for 1.3.0-C, works with 1.4.2_05-b04. Mmh javadoc for 1.3 [1] has that method ... Signature hasnt changed, maybe the compiler is not so restrictive any more. If I had changed protected void readStreamHeader() { to protected void readStreamHeader() throws java.io.IOException, j

AW: AW: cannot resolve symbol when overriding method.

2005-03-10 Thread Jan . Materne
1. took your source from http://marc.theaimsgroup.com/?l=ant-user&m=111022093008210&w=2 2. removes all the slashes 3. saves as Dummy.java 4. wrote a buildfile 5. type "ant" 6. got Buildfile: build.xml [javac] Compiling 1 source file to C:\TEMP\x BUILD SUCCESSFUL Tot

AW: HELP! ant 1.6.2

2005-03-10 Thread Jan . Materne
> > > > > > > > Sorry, works for me an Ant 1.5.2, 1.6.2 and 1.7alpha Jan

AW: AW: how to read an environment var in a property file

2005-03-09 Thread Jan . Materne
you´re welcome re-checked? Jan -Ursprüngliche Nachricht- Von: Markus Innerebner [mailto:[EMAIL PROTECTED] Gesendet am: Mittwoch, 9. März 2005 17:32 An: Ant Users List Betreff: Re: AW: how to read an environment var in a property file Hi Jan thanks for your quick answer [EMAIL PROTECTED

AW: how to read an environment var in a property file

2005-03-09 Thread Jan . Materne
You have to read the ENV before the prop file: build.properties: - test=${ENV.KEY}-Text build.xml - ${test} test C:\TEMP\xx>set KEY=Hello C:\TEMP\xx>ant Buildfile: build.xml [echo] Hello-Text BUILD SUCCESSFUL Jan -Ursprüngliche Nachricht--

AW: Iteration over files

2005-03-08 Thread Jan . Materne
@{filename} you just need the AntContrib. Jan -Ursprüngliche Nachricht- Von: Pfau Oliver FRD II [mailto:[EMAIL PROTECTED] Gesendet am: Mittwoch, 9. März 2005 08:09 An: 'Ant Users List' Betreff: AW: Iteration over files How you address the files name ? E. g. I h

AW: alternate xml logger stylesheets

2005-03-08 Thread Jan . Materne
The key part is [EMAIL PROTECTED] != 'debug'] in line 178 and 195. All messages without "debug" - so all above them - should appear. But by default Ant logs only "info" and higher - if you dont use the -verbose flag. The simplest for you would be replacing [EMAIL PROTECTED] != 'debug'] wi

AW: Deleting 0 kb files

2005-03-08 Thread Jan . Materne
http://ant.apache.org/manual/CoreTypes/selectors.html#sizeselect Jan -Ursprüngliche Nachricht- Von: Pfau Oliver FRD II [mailto:[EMAIL PROTECTED] Gesendet am: Dienstag, 8. März 2005 09:59 An: 'user@ant.apache.org' Betreff: WG: Deleting 0 kb files Hi, is there a ant core task to delete fi

AW: logic using ant

2005-03-08 Thread Jan . Materne
You could also try a different thing: - use a "stage" property (values: dev|test) - define some in two files dev.macros.xml ..do..this.. test.macros.xml ..do..that.. - import the macros definition using the property - just invoke the action Jan > -Ursprüngliche Nachricht-

AW: cannot resolve symbol when overriding method.

2005-03-08 Thread Jan . Materne
works for me. but you should throw the IOException instead of Exception ... but that´s another topic. Jan > -Ursprüngliche Nachricht- > Von: Sébastien Annedouche [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 7. März 2005 19:42 > An: user@ant.apache.org > Betreff: cannot resolve symbol

AW: VSS Project/Solution to Ant build tool

2005-03-07 Thread Jan . Materne
> Does anyone know of a tool for converting a solution or > project in visual > studio to Ant build.xml(s)? Sorry, dont know any. > This seems like an easy task, since it is XML on both ends. As porting C# to Java, because both are ASCII ;-) Jan

AW: Unable to instantiate specified logger class

2005-03-06 Thread Jan . Materne
Is that class in the classpath? Maybe you should pack that logger in a jar and put that to ${user.home}/.ant/lib Mmh - starting with -lib should also work. These jars are added very early to Ant´s classpath. Jan > -Ursprüngliche Nachricht- > Von: Fabricio Diogenes [mailto:[EMAIL PROTECTE

AW: SCP support in ANT 1.5

2005-03-04 Thread Jan . Materne
You could TRY to the sc-family tasks with a classpath pointing to 1.6 ant-jsch.jar and it´s 3rd party lib. The oata/taskdefs/default.properties lists: scp=org.apache.tools.ant.taskdefs.optional.ssh.Scp sshexec=org.apache.tools.ant.taskdefs.optional.ssh.SSHExec But it´s only a try! Jan > --

AW: ocx file properties

2005-03-04 Thread Jan . Materne
Mmh - "open with notepad" ... no - you cant parse the file directly. So you have to use a (windows) native program for extracting these information. Maybe writing your own, maybe there is a tool available for windows. Jan > -Ursprüngliche Nachricht- > Von: Radha Sangal [mailto:[EMAIL PRO

  1   2   3   4   5   >