AW: Another windows problem

2005-06-29 Thread Jan.Materne
with nested ? Jan >-Ursprüngliche Nachricht- >Von: Ondrej Svetlik [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 29. Juni 2005 14:25 >An: user@ant.apache.org >Betreff: Another windows problem > >Hello all, > >I have a problem with paths in Windows. > >I have a property file that looks

Manifestations

2005-06-29 Thread Kai Hendry
I'm tracking a project using a manifest in the basedir. Then in each subproject I am adding manifest="${build.basedir}/MANIFEST.MF" to the jar tasks. So far so good. Though how does one quickly check the manifest from Windows or any platform for that matter? E

Re: xmltask question failWithMatch?

2005-06-29 Thread Anand Krishniyer
Hi how to fail a build if a particular node(or attribute of a node) is present/matches in the xml. For e,g target="PatchExistsError" inheritAll="true" inheritRefs="true"> In PatchExistsError I want to print an error message and fail.

Re: Ant 1.6.5 doesn't work on Fedora core 4

2005-06-29 Thread Phuoc Diec
I just MANUALLY installed Ant 1.6.3 and then Ant 1.6.5 from tar files. They work just fine on Fedora Core 4 with Sun's Java version "1.5.0_02" (build 1.5.0_02-b09). The problem may be from RPM install. Check env for JAVA_HOME and ANT_HOME. Phuoc. On 6/29/05, Sandy <[EMAIL PROTECTED]> wrote: > M

Re: How can i update DTD file?

2005-06-29 Thread Brian Agnew
I had a look for a DTD-specific API (which you'd really need). I found this : http://www.wutka.com/dtdparserdoc.html. You might be able to make use of this somehow. Of course if you were using XML Schemas your options would be more plentiful But I suspect you knew that already! Nir Geier w

Re: Ant 1.6.5 doesn't work on Fedora core 4

2005-06-29 Thread Ivan Ivanov
Hello, If Ant 1.6.5 does not work on FC4, I promise I will never post a message here. Several days ago, there was a thread[1] about Ant on FC and it contains some instructions on how to start debugging. HTH Ivan [1]http://marc.theaimsgroup.com/?l=ant-user&m=111988958425993&w=2 --- Sandy <[EMAI

AntServer and RemoteAnt problems

2005-06-29 Thread Chad Armstrong
Hello, I'm having problems getting AntServer and RemoteAnt to run successfully. The gist is that I have a build file running on an XP box that should kick off a build file on a linux box. Here is what I have done so far (just to test the communication between the machines): ON LINUX BOX: -copie

RE: Ant 1.6.5 doesn't work on Fedora core 4

2005-06-29 Thread Dominique Devienne
> -Original Message- > From: Sandy [mailto:[EMAIL PROTECTED] > > Most of you probably are aware of it. For those who are still trying to > use ANT 1.6.5 (and 1.6.3) on Fedora core 4, *it doesn't work*. I > uninstalled it and now going with 1.6.2, it works ! That's a rather strong statemen

Re: How can i update DTD file?

2005-06-29 Thread Jeffrey E Care
Writing extension tasks is easy; writing an extension task to handle your particular business problem may not be so easy. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "Rhino" <[

Re: How can i update DTD file?

2005-06-29 Thread Rhino
Ahh, well you didn't SAY that so I thought it was a slightly off-topic question and answered it as such. I don't see a task designed to do what you want to do in the current Ant Manual. There might be a third party task that isn't in the manual which you could find via your search engine. Othe

Ant 1.6.5 doesn't work on Fedora core 4

2005-06-29 Thread Sandy
Most of you probably are aware of it. For those who are still trying to use ANT 1.6.5 (and 1.6.3) on Fedora core 4, *it doesn't work*. I uninstalled it and now going with 1.6.2, it works ! ~Rex

RE: How can i update DTD file?

2005-06-29 Thread Nir Geier
TY, Rhino I want an ant task which can update the DTD list. :-)) Nir. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How can i update DTD file?

2005-06-29 Thread Rhino
Any file editor on your computer should give you the ability to edit the file; Wordpad or Notepad on Windows, vi on Linux, etc. DTD files are just straight text files. Of course, you have to pay attention to the formatting. If you don't know the rules for formatting DTDs, you should be able to fi

RE: How can i update DTD file?

2005-06-29 Thread Nir Geier
Ty, Im using regexp and replace, I wonder is there is something like Nir. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 5:14 PM To: Ant Users List Cc: Ant Users List Subject: Re: How can i update DTD file? Here's a snippet of code

Re: How can i update DTD file?

2005-06-29 Thread Frank W. Zammetti
Here's a snippet of code from my AjaxTags project where I modify a DTD on-the-fly... enableAjax org.apache.struts.taglib.html.ajax.tags.EnableAjaxTag empty The task allows you to replace sections

How can i update DTD file?

2005-06-29 Thread Nir Geier
Hi again I have a DTD list (inside DTD file) which i need to update. how can i do this? ex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: another problem (solution)

2005-06-29 Thread Nir Geier
10 a lot Brian. I manage to find a solution. Im posting it here so everyone will be able to use it when neded

Re: another quetion

2005-06-29 Thread Brian Agnew
Hi Nir, Please feel free to send questions direct to me and I can help. There's also a xmlusers list at http://lists.sourceforge.net/lists/listinfo/xmltask-users, which helps in keeping everything on-topic! Brian Nir Geier wrote: Hi again, When using how can i update the same file. us

RE: problem:

2005-06-29 Thread CLAVIER Remi RD-CORE-LAN
Regarding the manual for xmlcatalog, I don't find any information about the use of "SYSTEM" DOCTYPE. 1) It's possible or not to use XML cataloge with a "SYSTEM" DOCTYPE? 2) How to to do Thanks -Message d'origine- De : Keith Hatton [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 juin 2

RE: problem:

2005-06-29 Thread Keith Hatton
Check the manual for ? Hope this helps Keith -Original Message- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: 29 June 2005 13:58 To: Ant Users List Subject: problem: hi again, im trying to use and I keep getting the following exception: (make no difference if there is no internal

Another windows problem

2005-06-29 Thread Ondrej Svetlik
Hello all, I have a problem with paths in Windows. I have a property file that looks like this mypath = /PREFIX/path/to/the/first.jar:/PREFIX/path/to/the/second.jar I load this file, so ${mypath} contains the paths. Then I use . Now, when I try to output reference mypath, every path looks li

another quetion

2005-06-29 Thread Nir Geier
Hi again, When using how can i update the same file. using the insert is looking for dest="file name". im using fileset so i dont have the file name in the source im using the following: No changes are made

RE: problem:

2005-06-29 Thread Nir Geier
I will try it. sounds good to me. ty -Original Message- From: CLAVIER Remi RD-CORE-LAN [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 2:01 PM To: Ant Users List Subject: RE: problem: A suggestion... Try to put the DTD in the 'base' directory (where your build.xml exists...

RE: problem:

2005-06-29 Thread CLAVIER Remi RD-CORE-LAN
A suggestion... Try to put the DTD in the 'base' directory (where your build.xml exists...). It seems me that all 'relative' path are relative from this point. If needed, add some lines to copy your DTD at the right place befor to use xmltask and to delete it when it's no more needed... -Me

problem:

2005-06-29 Thread Nir Geier
hi again, im trying to use and I keep getting the following exception: (make no difference if there is no internal task or not). [xmltask] org.xml.sax.SAXParseException: Relative URI "xxx.dtd"; can not be resolved without a base URI. My xxx.dtd is found under the same dir as the xml and the x

RE: XML question

2005-06-29 Thread Nir Geier
ty, im looking into it. looks like what i need. -Original Message- From: Brian Agnew [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 11:44 AM To: Ant Users List Subject: Re: XML question XmlTask can do this using the subtask. http://www.oopsconsultancy.com/software/xmltask/

RE: XML question

2005-06-29 Thread Nir Geier
Ty, I simply want to add XML during build process. i need to add node based upon info generated -Original Message- From: Kees van Dieren [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 11:48 AM To: 'Ant Users List' Subject: RE: XML question You can try it with the style task (x

AW: XML question

2005-06-29 Thread Jan.Materne
An xml is also "simple" text file. So you could try or s. You know the xmltask (see external page)? Jan >-Ursprüngliche Nachricht- >Von: Kees van Dieren [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 29. Juni 2005 11:48 >An: 'Ant Users List' >Betreff: RE: XML question > >You can try

Re: XML question

2005-06-29 Thread Brian Agnew
XmlTask can do this using the subtask. http://www.oopsconsultancy.com/software/xmltask/ Nir Geier wrote: Hi all, Im trying to manipulate XML by adding new node at some point. ex: Does any one has an idea how to do it witho

RE: XML question

2005-06-29 Thread Kees van Dieren
You can try it with the style task (xslt transformer). You don't use use dom or an xml parser yourself, but need to create an external xslt sheet, so it's not pure ant. Kind regards, Kees van Dieren Senior Software Engineer MP Objects Supply Chain Software Stationsplein 45 3013 AK Rotterdam The

XML question

2005-06-29 Thread Nir Geier
Hi all, Im trying to manipulate XML by adding new node at some point. ex: Does any one has an idea how to do it without writing my own task or using XML parser? I want to do it in a pure ant script if its possible. If not i wil