RE: set to new a file.

2005-04-28 Thread Rodolfo García Esteban/CYII
Thanks Ivan and Nir, this is the solution Rodlfo ___ "Nir Geier" <[EMAIL PROTECTED]> 28/04/2005 16:35 Por favor, responda a "Ant Users List" Para: "Ant Users List" cc: (cco: Rodolfo García Esteban/CYII) Asunto: RE:

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

Re: exception using javah task in 1.6.3

2005-04-28 Thread Antoine Levy-Lambert
Hello Maurice, The class which is trying to use com.sun.tools.javah.oldjavah.Main is src/main/org/apache/tools/ant/taskdefs/optional/javah/SunJavah.java http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/optional/javah/SunJavah.java I guess the problem is that the changes

exception using javah task in 1.6.3

2005-04-28 Thread Maurice Feskanich
Hi All, I just tried doing my build with 1.6.3, and I'm getting: [javah] Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javah/oldjavah/Main This build has been working fine with 1.6.2. All I did to use 1.6.3 was change the value of ANT_HOME. I've looked through the do

RE: properties not being reset

2005-04-28 Thread George Dibi
Let me try this. Thanks -Original Message- From: Rainer Noack [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 3:03 PM To: 'Ant Users List' Subject: RE: properties not being reset Try something like this: > > > > > > > value="build_isoft36.properties"/> > > > > > > > > >

RE: properties not being reset

2005-04-28 Thread Rainer Noack
Try something like this: > > > > > > > value="build_isoft36.properties"/> > > > > > > > > > > > > > > Labeling, please wait... > > > > > > > > > > > > > > > > > > > > > >

Re: Ant 1.6.3 release

2005-04-28 Thread Darin Swanson
Barring any unforeseen problems, this release will be included in next weeks Eclipse integration build (in tonight's nightly build) https://bugs.eclipse.org/bugs/show_bug.cgi?id=88138 FYI and Thanks Ant Team! Darins Antoine Lévy-Lambert <[EMAIL PROTECTED]> 04/28/2005 07:54 AM Please respond

RE: Trigger standard build file from ant script

2005-04-28 Thread Currimbhoy Shahyan
Oh ok...yes I think the exec command should be perfect ! Thanks. -Original Message- From: David TROGDON [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 12:27 PM To: Ant Users List Subject: Re: Trigger standard build file from ant script I suspect the ANT task that runs an ex

Re: Trigger standard build file from ant script

2005-04-28 Thread David TROGDON
I suspect the ANT task that runs an executable may work. I have used it to run batch files, InstallShield command line etc. I started with ANT about 5-6 years ago and never used Make or any other buid scripting language so excuse me for not being familiar with .bld files. I am assuming you pass

RE: Ant 1.6.3 release

2005-04-28 Thread Rebhan, Gilbert
Hi, it's not a bug but i just saw that the main page /section Documentation = http://ant.apache.org/ contains current release -> 1.6.2 ... You can view the documentation for the current release (Apache Ant 1.6.*** 2 ***) online ... you may call me 'erbsenzaehler' / bean counter ;-) Regard

Re: Ant 1.6.3 release

2005-04-28 Thread Stefan Bodewig
On Thu, 28 Apr 2005, Benjamin Burgess <[EMAIL PROTECTED]> wrote: > Currently, http://www.apache.org/dist/ant/binaries/ contains a > wonderfully useful page containing "Changes from Ant 1.6.1 to Ant > 1.6.2" Will this be updated right away to include the 1.6.2 to 1.6.3 > changes? It now has. When

RE: Ant 1.6.3 release

2005-04-28 Thread Burgess, Benjamin
Currently, http://www.apache.org/dist/ant/binaries/ contains a wonderfully useful page containing "Changes from Ant 1.6.1 to Ant 1.6.2" Will this be updated right away to include the 1.6.2 to 1.6.3 changes? Ben Burgess TIAA-CREF -Original Message- From: Antoine Lévy-Lambert [mailto:[EMAI

html input for ?

2005-04-28 Thread P-Y Foucou
Does anyone know if there is an option making Xslt task able to handle html input ? (something equivalent to the option --html of xsltproc) thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Trigger standard build file from ant script

2005-04-28 Thread Currimbhoy Shahyan
Hi, Our organization currently uses standard build (.bld) files to build our components. I want to automate this process and am looking into cruise control. Cruise control however only supports ant, maven and nant. I am looking at trying to trigger our standard build script from an ant script. C

RE: properties not being reset

2005-04-28 Thread Rainer Noack
Properties are immutuable. You can use the 's prefix-attribute to read the file the second (or first/or both) time. Cheers Rainer > -Original Message- > From: George Dibi [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 28, 2005 4:25 PM > To: Ant Users List > Subject: properties not b

Ant 1.6.3 release

2005-04-28 Thread Antoine Lévy-Lambert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Ant 1.6.3 has been uploaded and will be available in the next hours. There is a large list of fixed bugs and enhancements. Some of the bugs affecting the embedded use of Ant are fixed. Cheers, Antoine Lévy-Lambert -BEGIN PGP SIGNATURE- Ve

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
To tell u the truth, im not worried. the entry i have to add is a text to teh list, all i want to to is to place anothe item in DTD list its pure text and only entry name. -Original Message- From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 4:31 PM To: Ant Users

Re: Looking for task to add text to file.

2005-04-28 Thread Brian Agnew
Ok. Sounds like you're covering that (and you may want to worry about other XML entities - & etc.). Your problem domain may be small enough to require such a solution, but once you have to worry about character encodings and the like then you'll run into other issues. Butn like I say, it's all

properties not being reset

2005-04-28 Thread George Dibi
All; Scenario: First I set the properties info... The content of build_isoft36.properties initially set to: #build_env BUILD_VIEW=ccadm_isoft36 label.product=isoft36 IVCOMMONVOB_VER=2.1 IVCOMMONVOB_BLD=003 --

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
im using x; to inser < > -Original Message- From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 4:13 PM To: Ant Users List Subject: Re: Looking for task to add text to file. If you're modifying XML then I'd strongly suggest using xmltask (I'm biased here!) or equ

Re: Looking for task to add text to file.

2005-04-28 Thread Brian Agnew
If you're modifying XML then I'd strongly suggest using xmltask (I'm biased here!) or equivalent. Why ? A simple text search/replace doesn't respect the character encoding conventions within your XML, and doesn't respect entity encoding. e.g. you want to insert the text "x < y". If you do that

RE: set to new a file.

2005-04-28 Thread Nir Geier
Hi there. use the append in teh echo: true= append to file false= overwrite with new file. Nir. --- Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > Hi, > > For initialize my logs files I need to create a new > file or delete the > existing one. I don't know how to do this. I w

"Error! stylesheet requires attribute: version"

2005-04-28 Thread manoj puthran
I am generating xml report from 'cvstagdiff' task to give me the difference between file versions from CVS Repository. And using ant's own xsl file "apache-ant-1.6.2\etc\tagdiff.xsl". It works fine in IE. But when I try to use the same 'Xslt/Style' task to generate html file. It gives me followi

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
i didnt fin teh : 2) using and filters while ing - extract part before - extract part after using to combine before, new and after parts you mentioned before. where are the tail and head? (which task?) Nir. - To un

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
hi again. important issues: 1. i cannot change the DTD structure (backward compability) 2. i must add it to the specific location (end of list) the xml is not a problem since i look for and replace it <...new_sysntax...> in the dtd i define my list of nodes i really don't understand why it

FilterSet vs FilterChains

2005-04-28 Thread Dick, Brian E.
There is a little overlap between FilterSet and FilterChain types, but otherwise the two types are quite different. For example the following two copy tasks are equivalent. The FilterSet type does token rep

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.

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Ty again, i must change the DTD since customer gets it. i dont have any decistion if to cahnge it or not, its more then simple validation, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 1:30 PM To: user@ant.apache.org Subject: AW: Loo

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 >

Re: Problem with Ant javac includes

2005-04-28 Thread Conor MacNeill
I think you may be misunderstanding what "includes" means here. The "includes" attribute is used against the source directory to decide which files to include in the compilation. In other words, "includes" functions as a filter on the set of files from your srcDir. If you add something to that

Re: Problem with Ant javac includes

2005-04-28 Thread Peter Reilly
Includes acts as a filter, not as a list of files. It is more often uses as "mypackage/*.java" or "mypackage/**/*.java" - i.e. a filter. To do what you want, you would need to use the task with a with the condition. Something like

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Hi again. i MUST change the DTD. The xml nodes are list values defined in the DTD, even that i disslike it this way i must support it since the product is build this way. i do use to validate the output i generated but again all teh manipulation is done using 'replace' task and appending teh te

Re: set to new a file.

2005-04-28 Thread Ivan Ivanov
Hello Rodolfo, If I understand correctly the following might help you: It will create a brand new file if there is not or it will empty it if there is a log file. HTH Ivan --- Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > Hi, > > For initialize my logs files I need to create a

set to new a file.

2005-04-28 Thread Rodolfo García Esteban/CYII
Hi, For initialize my logs files I need to create a new file or delete the existing one. I don't know how to do this. I would apprecite any help? Thanks Rodolfo

Problem with Ant javac includes

2005-04-28 Thread Jan Almås
Hi all Ant users, we have been using Ant in our projects for 2+ years now. We have recently discovered a potential dangerous error (or we believe it's an error at least). When using Ant to compile our package with an explicit includes statement, Ant ignores the fact that the file can't be found

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

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
My task is the following: I have XML file and the corresponding DTD. I need to add text to the XMl and to the DTD. Since the needs to be added to specific location in the XML, The DTD needs to updated accordingly. as you all know I don't have too much flexibility in the DTD, it must be added t

RE: Installing ant on linux 3

2005-04-28 Thread Kishore Sockalingam
Thanks jan.This worked perfectly. Kishore -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 3:22 PM To: user@ant.apache.org Subject: AW: Installing ant on linux 3 For the first start copy that snippet into your current directory: build

RE: Installing ant on linux 3

2005-04-28 Thread Hariharan, Vadivelu (IE10)
That is normal message Ant looks for a files named build.xml in the current directory >From which you ran this script U need to have a build.xml file in the directory from which You are trying to run ant. -Hari -Original Message- From: Kishore Sockalingam [mailto:[EMAIL PROTECTED] Sen

RE: check property

2005-04-28 Thread Mikael Petterson \(KI/EAB\)
Thanks Stefan, It worked just fine! //Mikael -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: den 28 april 2005 10:53 To: user@ant.apache.org Subject: Re: check property On Thu, 28 Apr 2005, Mikael Petterson <[EMAIL PROTECTED]> wrote: > In my ant build.xml I hav

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-< ---

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Thanks alot. i will try it all now. Ty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 11:49 AM To: user@ant.apache.org Subject: AW: Looking for task to add text to file. Some possibilities which come into my mind: 1) using 2) using

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

Installing ant on linux 3

2005-04-28 Thread Kishore Sockalingam
Hello I am trying to install ant on linux 3.0 When I ran the ant script ..it shows the build failed. ./ant Buildfile: build.xml does not exist! Build failed I am new to ant scripts. What could be the problem. Kishore - To u

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Ty i need to add it to certain location insid ethe file. not to write log messages. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 11:39 AM To: user@ant.apache.org Subject: AW: Looking for task to add text to file. message Jan

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

using cvschangelog task

2005-04-28 Thread manoj puthran
Using cvschangelog task, How do I find out files changed by particular date or by user. Regards Manoj P. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Ty Gilbert. I will look into it in details. -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 10:34 AM To: Ant Users List Subject: RE: Looking for task to add text to file. Hi, i've had a similar problem see = http://marc.theaimsgrou

RE: check property

2005-04-28 Thread Rebhan, Gilbert
Hi, with antcontrib you have = ... ... you may also write ... possible to use more than one , f.e. = ...

Re: check property

2005-04-28 Thread Stefan Bodewig
On Thu, 28 Apr 2005, Mikael Petterson <[EMAIL PROTECTED]> wrote: > In my ant build.xml I have a property called: > > > > This can be changed when I run my build.xml ( from -Dxml.file) when > starting ant. > > How can I check the value of 'xsl.file' and depending on the value > give another pop

check property

2005-04-28 Thread Mikael Petterson \(KI/EAB\)
Hi, In my ant build.xml I have a property called: This can be changed when I run my build.xml ( from -Dxml.file) when starting ant. How can I check the value of 'xsl.file' and depending on the value give another poperty ('pkg') a value like: if xsl.file = interface.xsl --> pkg = /se/comp

RE: Looking for task to add text to file.

2005-04-28 Thread Rebhan, Gilbert
Hi, i've had a similar problem see = http://marc.theaimsgroup.com/?l=ant-user&m=110691291123439&w=2 for a solution, if you don't want to use concat/replace ... Since i needed to put in a property i changed the example of Jan to take a property. Gilbert -Original Message- From: Nir G

Re: takes no property

2005-04-28 Thread Stefan Bodewig
On Thu, 28 Apr 2005, Gilbert Rebhan <[EMAIL PROTECTED]> wrote: > OK - so 1.6.3 is gonna be released today ? :)) No real secret, Cheers Stefan - To unsubscribe,

Looking for task to add text to file.

2005-04-28 Thread Nir Geier
Hi all, Im trying to append text to file and I could't find any suitable task for doing so. As a workaround im using the 'Replace' task. (http://ant.apache.org/manual/CoreTasks/replace.html) Another option is the 'Concat' ( http://ant.apache.org/manual/CoreTasks/concat.html ) but it is limited

RE: takes no property

2005-04-28 Thread Rebhan, Gilbert
Hi, Stefan OK - so 1.6.3 is gonna be released today ? :)) Gilbert -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 10:12 AM To: user@ant.apache.org Subject: Re: takes no property On Thu, 28 Apr 2005, Gilbert Rebhan <[EMAIL PROTECTED]

Re: takes no property

2005-04-28 Thread Stefan Bodewig
On Thu, 28 Apr 2005, Gilbert Rebhan <[EMAIL PROTECTED]> wrote: > are there any drawbacks with other tasks, when using the 2 new > classes within my ant 1.6.2 installation ?! Possible. No one has ever tested it. If I were you I'd wait a few hours and use ant 1.6.3 final instead. Stefan ---

RE: takes no property

2005-04-28 Thread Rebhan, Gilbert
Hi, thanks for the hint Antoine ! I read the manual, but ... So i put the new FileUtils + Touch.class of ant 1.6.3b1 in the /lib/ant.jar of my ant 1.6.2 installation. and now = ... ... works like a charm :) Question = are there any drawbacks with other tasks, when using the 2 new classe