Re: Access jar files in a library directory in the jar file

2013-06-18 Thread Rob Seegel
Rob, There are various open source solutions out there to do what you're looking for, but there is no "built-in" way to do what you want to do using plain Java. I saw someone else suggest one-jar which is what I would have suggested, too. There is another one called Meta Jar

Re: Access jar files in a library directory in the jar file

2013-06-18 Thread Rob Tanner
the ant user's guide, and I couldn't find such a task, but is there a way to execute a short shell script from within the build.xml file? ~ Rob On Jun 17, 2013, at 4:08 PM, Joe Attardi wrote: > Hi Rob, > > I don't think you can have JAR files inside the JAR file l

Access jar files in a library directory in the jar file

2013-06-17 Thread Rob Tanner
e manifest, but I have no idea what it is. Any help would be greatly appreciated. Thanks, Rob Tanner Linfield College

RE: @classpath

2013-04-10 Thread Milliken, Rob
Google xpath or xslt -Original Message- From: Peter West [mailto:li...@pbw.id.au] Sent: Wednesday, April 10, 2013 9:37 AM To: user@ant.apache.org Subject: @classpath Where can I find documentation for usage like ? Likewise for the other uses of "@"? Thanks. Peter West "Have you beli

Re: AW: Packaging ant scripts into a jar

2013-01-19 Thread Rob Seegel
#x27;re looking to do. Rob On 1/18/13 1:34 AM, Matèrne, Jan (RZF, SG 481) wrote: If I read the source of Ants main class [1] I would think, that the buildfile must be a real file on the file system. It cannot be run from the classpath. What do you expect from bundling the buildfile in a jar?

Re: Recycle an Ant task

2012-10-02 Thread Rob Seegel
retty embarrassing in retrospect, but it did work. Rob On 9/28/12 9:50 AM, Jose Rojas wrote: Stefan, thank you for two excellent solutions. I actually implemented the reference solution yesterday. What I discovered would be interesting for others looking for a solution like

Problems using URL tasks

2012-09-14 Thread Rob Tanner
rameter part of the URL is: fileName=c:/Users/marvin/Documents/B2Development/LINF-test.war&clean=true&available=true Since it appears that the semi-colon can be added without causing problems on the remote server, I tried adding it per the error message but I still get the same error. Any ideas? Thanks, Rob

Re: Checking if a Target Exists

2011-11-03 Thread Rob Seegel
de (occasionally) Anyhow, thanks for the tip - I've been meaning to read up on 1.8, but haven't made time to do it, yet. Rob On 11/3/11 9:56 PM, Vimil Saju wrote: Ant 1.8 has extension-points which provides something similar to your use-case http://ant.apache.org/manual/targets.html

Re: Checking if a Target Exists

2011-11-03 Thread Rob Seegel
between one and three imports, and maybe a few property overrides. Let me take a look at the code tomorrow - perhaps I can share it. It was written for Ant 1.6.5, but I've also used it for 1.7.* The basic idea has worked pretty well for me. Rob On 11/3/11 7:52 AM, Steve Amerige wro

Re: General Concept Question

2011-11-01 Thread Rob Seegel
it's most likely unnecessary to do what you want to do. Rob - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
hitman/t/t/apache-ant-1.8.2/build.xml foo2: [echo] [Test ế] BUILD SUCCESSFUL Total time: 0 seconds thanks for all the help, all! thanks, rob On Fri, 27 May 2011, Rob J wrote: > On Fri, 27 May 2011, Scot P. Floess wrote: >

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
inux, but not under OSX given identical build.xml and foo.properties files. thanks, rob - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
box and the Debian linux box? thanks, rob - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
On Fri, 27 May 2011, Alexandre Priou wrote: > no test it's the game Sorry, not following you there...? What do you mean? thanks, rob - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
ing both the encodings in build.xml to iso-8859-1 and it still produces the output: Test ? Any other ideas? Thanks for the help sofar. thanks, rob - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-

Re: Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
@bigdog ~/t$ cat test.txt Test ? Same thing. Any other ideas? Thanks for the help sofar. Rob On Fri, 27 May 2011, Echlin, Robert wrote: > Hi Rob, > Maybe you need to start the file with the Byte Order Mark? > This is apparently more likely if you are on Windows. > > http://e

Question regarding UTF-8 and property files

2011-05-27 Thread Rob J
eting the utf-8 character properly and therefore is not putting it into my project properly. I've tried both the raw utf-8 character in the file as well as the \u encoded version. Both are the same. Can anyone point out where I'm going wrong with thi

Re: Can I edit web.xml from an ANT script

2010-03-18 Thread Rob Tanner
Brian, Thanks. I'm having some newbie issues using it but I also found that there's an xmltask-users email list, so I've posted my problem there. Again, thanks. -- Rob On 3/18/10 1:13 PM, "Brian Agnew" wrote: > XMLTask is what you want. It was specifica

Can I edit web.xml from an ANT script

2010-03-18 Thread Rob Tanner
, perhaps replacing a comment line such as with the actual XML? Thanks, Rob Rob Tanner JAVA Developer Linfield College, McMinnville Oregon

RE: Still not able to unsubscribe

2008-07-24 Thread Anderson, Rob (Global Trade)
I looked through my sent messages and the discrepancy you point out is simply a typo in this email thread. I did indeed send the emails to the correct address. -Rob A -Original Message- From: Nicolas Lalevée [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2008 9:38 AM To: Ant Users

RE: Still not able to unsubscribe

2008-07-24 Thread Anderson, Rob (Global Trade)
Still no response? I am have tried and tried again with no success. Can the list admin please help? -Rob A From: Anderson, Rob (Global Trade) Sent: Wednesday, July 23, 2008 10:06 AM To: 'Ant Users List'; 'Ant Developers List' Subjec

Still not able to unsubscribe

2008-07-23 Thread Anderson, Rob (Global Trade)
. Thanks, Rob Anderson Senior System Engineer Nike Global Trade IT 503.532.6803 I wish I was in Tijuana, eating barbecued iguana. -Stan Ridgway

RE: Unable to unsubscribe from user and dev list

2008-07-21 Thread Anderson, Rob (Global Trade)
No. I tried that. I also tried [EMAIL PROTECTED] As I mentioned, I tried all the documented methods to unsubscribe. (http://ant.apache.org/mail.html) -Rob A -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 9:58 AM To: Ant Users List

Unable to unsubscribe from user and dev list

2008-07-21 Thread Anderson, Rob (Global Trade)
I have decided to use a different email address for both ant-user and ant-dev. I have tried the documented methods of unsubscribing this email address, but nothing has worked. Can someone help please? Thanks, Rob Anderson Senior System Engineer Nike Global Trade IT 503.532.6803 I

RE: Question about scp

2008-07-15 Thread Anderson, Rob (Global Trade)
:) -Rob Anderson -Original Message- From: Reinhardt Christiansen [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2008 6:37 AM To: Ant Users List Subject: Re: Question about scp I see. Well, it's nice to know that it wasn't a case of me being stupid. It's a shame that it

RE: Question about scp

2008-07-14 Thread Anderson, Rob (Global Trade)
. -Rob Anderson -Original Message- From: Reinhardt Christiansen [mailto:[EMAIL PROTECTED] Sent: Saturday, July 12, 2008 7:15 AM To: ant-user Subject: Question about scp I am successfully using the Ant (1.7.0) scp task in Ant 1.7.0 but I have some questions that don't seem to be ans

RE: Perform task as the root user

2008-07-07 Thread Anderson, Rob (Global Trade)
>From the error message... Action: Check that the appropriate optional JAR exists in -/usr/local/apache-ant/bootstrap/lib -/home/afstudeerwerk/.ant/lib -a directory added on the command line with the -lib argument -Rob A -Original Mess

RE: Misleading error message from tar task

2008-07-07 Thread Anderson, Rob (Global Trade)
Search the bug database to see if someone has already reported the issue. If it has not been reported, enter a new bug in the bug database. If you would like to fix it yourself, get the source and create a patch file. Attach the patch to the bug. -Rob A -Original Message- From: Jeremy

RE: Perform task as the root user

2008-07-07 Thread Anderson, Rob (Global Trade)
You probably want to use the exec task to run the sudo command. -Rob A -Original Message- From: jantje [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 7:07 AM To: user@ant.apache.org Subject: Perform task as the root user Hi, Is it possible to perform a tast as the root user

RE: trouble with dependset under ant v1.7

2008-07-01 Thread Anderson, Rob (Global Trade)
Search the bug database to see if the issue has already been reported. If not, submit a new bug. -Rob A -Original Message- From: Eric Marshall [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 12:07 PM To: user@ant.apache.org Subject: Re: trouble with dependset under ant v1.7

RE: Multiple

2008-07-01 Thread Anderson, Rob (Global Trade)
Why not use the existing replace task with the replacefilterfile attribute? I'm not sure what you mean by 'dynamic replace count'. -Rob Anderson -Original Message- From: Raymond Berg (ALLETE) [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 11:45 AM To: Ant Use

RE: SCP in Ant

2008-07-01 Thread Anderson, Rob (Global Trade)
Set the trust="true" See the doc for more details... http://ant.apache.org/manual/OptionalTasks/scp.html -Rob Anderson -Original Message- From: Chris Green [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 10:12 AM To: Ant Users List Subject: Re: SCP in Ant Thanks, tha

RE: JSCH Help

2008-06-12 Thread Anderson, Rob (Global Trade)
compile jsch first, and then Ant, you should have the scp tasks. I would suggest using the binary distribution of Ant and Jsch, unless you have a specific reason not to. -Rob Anderson -Original Message- From: Chris Strzelczyk [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 10:58

RE: I am new to ANT

2008-06-10 Thread Anderson, Rob (Global Trade)
Targets are explained in the manual here... http://ant.apache.org/manual/using.html#targets No, Ant will not change the way you run your program. -Rob A -Original Message- From: mahesh.mach [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2008 11:04 PM To: user@ant.apache.org Subject

RE: doubt in property

2008-06-04 Thread Anderson, Rob (Global Trade)
Name of properties are arbitrary. The location and value attributes are well documented... http://ant.apache.org/manual/CoreTasks/property.html -Rob A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 7:22 AM To: user@ant.apache.org

RE: Ant on AIX using SCP to transfer files with ssh2 keys

2008-05-21 Thread Anderson, Rob (Global Trade)
hen you need to copy the public key to the remote server and put it in /home/user-that-you-are-connecting-as/.ssh2 Create a file on the remote system called... /home/user-that-you-are-connecting-as/.ssh2/authorization ...with the contents... key name-of-your-public-key -Rob Anderson -Origin

RE: NetBeans target "run" to .bat file

2008-04-01 Thread Anderson, Rob (Global Trade)
To run an ant build file, you need ant. If the users are on your network, and have access to some of the same shared drives as you, then you could put ant on a shared drive and run it from a wrapper script (.bat) that sets up ANT_HOME, JAVA_HOME, etc. -Rob Anderson -Original Message

RE: ant sql doesn't recognize the database server name with back slash?

2008-04-01 Thread Anderson, Rob (Global Trade)
Try a forward slash... 10.23.23.2/sql5t9 -Rob Anderson -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 8:26 AM To: Ant Users List; [EMAIL PROTECTED] Subject: ant sql doesn't recognize the database server name with back slash? Hi

RE: how to load a bunch data from a txt file, and ant sql call these data

2008-03-20 Thread Anderson, Rob (Global Trade)
Good luck with that. -Rob A -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 6:15 PM To: Ant Users List; Ant Users List Subject: ??: how to load a bunch data from a txt file, and ant sql call these data I am not interested in your link

RE: how to load a bunch data from a txt file, and ant sql call these data

2008-03-19 Thread Anderson, Rob (Global Trade)
th, we are happy to help if we can. -Rob Anderson -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 3:52 PM To: Ant Users List Cc: [EMAIL PROTECTED] Subject: how to load a bunch data from a txt file, and ant sql call these data Hi Folks, I have

RE: ant sql call stored procedure

2008-03-19 Thread Anderson, Rob (Global Trade)
It looks like the sql you are trying to execute is vendor specific. Keep in mind that the Ant sql task uses a jdbc connection, and cannot accommodate vendor specific statements that may work fine in the vendor supplied client. -Rob Anderson -Original Message- From: Chaohua Wang [mailto

RE: setting properties

2008-03-19 Thread Anderson, Rob (Global Trade)
Given that the properties in ant are immutable, you should have the defaults set in a properties file and override them in your environment. This is opposite of what you describe, where you are attempting to set defaults in your environment and override them with a properties file. -Rob Anderson

RE: a stored procedure example for an sql src.

2008-03-19 Thread Anderson, Rob (Global Trade)
The documentation has examples. http://ant.apache.org/manual/CoreTasks/sql.html -Rob A -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 2:49 PM To: Ant Users List Subject: a stored procedure example for an sql src. Hi folks, could

RE: ant sql call stored procedure

2008-03-19 Thread Anderson, Rob (Global Trade)
sql statements, you can use the exec task to use the run the vendor supplied client. -Rob Anderson -Original Message- From: Chaohua Wang [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 10:15 AM To: Ant Users List Subject: ant sql call stored procedure Hi folks, I am using

RE: SQL scripts in ANT

2008-03-19 Thread Anderson, Rob (Global Trade)
the sql task for an example. -Rob Anderson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 7:47 AM To: user@ant.apache.org Subject: RE: SQL scripts in ANT Hi Robert.. Thanks for the suggestions, unfortunately none works with ANT 1.7 The

WAR file - preserve not working as expected

2008-03-10 Thread Rob Wilson
I have an issue where I want to include images into a war file, but overwrite some of the existing images in a second pass. I've tried copying the baseline images into the war in one war task and then overwrite the images in a second war task. If I choose duplicate="add" it does not replace the i

How to get the filename of a dirset - not the full path?

2008-03-10 Thread Rob Wilson
like string manipulations might be trickier than first appears? This is what I currently have... Cheers, Rob.

Re: Repeating a task for a list of directories

2008-03-10 Thread Rob Wilson
this point!) but this did work... Does anyone know what was wrong with the first one? Cheers, Rob.

Re: Repeating a task for a list of directories

2008-03-06 Thread Rob Wilson
Thanks for the information, I believe I need ant-contribs foreach such that I can do some processing for each subdirectory. I've downloaded the jar file and would prefer not to copy it directly into Ant libs folder, such that the next person to do a svn update can run with it without having to thi

Repeating a task for a list of directories

2008-03-05 Thread Rob Wilson
and have access to the directory name within the task - does anyone know how I can achieve this? Cheers, Rob.

RE: sshexec and rexec hung

2008-01-30 Thread Anderson, Rob (Global Trade)
I think this really depends on what you are executing with your shell script. Do the same scripts hang when you execute outside ant, using rexec or ssh? Try using nohup and be sure to background any processes you start. -Rob A -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent

RE: Can't connect to unix server from windows server...

2008-01-30 Thread Anderson, Rob (Global Trade)
the ${username},${password},${hostname} in your target and make sure they are set to what you expect. What version of jsch.jar are you using? -Rob Anderson -Original Message- From: Christopher Styles [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 9:36 AM To: Ant Users

RE: rexec and setting env variables on remote host

2008-01-28 Thread Anderson, Rob (Global Trade)
You could also source the .profile in your ant script... -Rob Anderson -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 2:40 AM To: Ant Users List Subject: Re: rexec and setting env variables on remote host Z W wrote: > Hi > >

RE: SSHExec Target

2008-01-24 Thread Anderson, Rob (Global Trade)
ver y. -Rob A -Original Message- From: Rishi Gogia [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 11:15 AM To: Ant Users List Subject: RE: SSHExec Target Hi Rob Basically I have to perform some function of this script on one server and some on the other so i have one scri

RE: SSHExec Target

2008-01-24 Thread Anderson, Rob (Global Trade)
Post the relevant portion of your build.xml and the output. -Rob A -Original Message- From: Rishi Gogia [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 11:15 AM To: Ant Users List Subject: RE: SSHExec Target Hi Rob Basically I have to perform some function of this script

RE: SSHExec Target

2008-01-24 Thread Anderson, Rob (Global Trade)
? Why use a shell script at all? -Rob Anderson -Original Message- From: Rishi Gogia [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 10:14 AM To: user@ant.apache.org Subject: SSHExec Target Hi I am using SSHExec target in my Build.xml which is calling a shell script. This

RE: where to get the jar file for ANT ForTask

2008-01-16 Thread Anderson, Rob (Global Trade)
Google ant-contrib. -Rob Anderson -Original Message- From: Nagender Kumar Mallik [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 9:20 PM To: user@ant.apache.org Subject: FW: where to get the jar file for ANT ForTask Hi, PLease tell me how to get the .jar file containing For

RE: java.net.UnknownHostException with sshexec

2008-01-16 Thread Anderson, Rob (Global Trade)
It looks like it cannot resolve the host address. Try using the ip address instead. -Rob Anderson -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 3:45 PM To: Ant Users List Subject: java.net.UnknownHostException with sshexec Hi I have

RE: Ant task for auto gen. release.txt form src-files!

2007-12-14 Thread Anderson, Rob (Global Trade)
with the exec task. -Rob Anderson -Original Message- From: donus [mailto:[EMAIL PROTECTED] Sent: Thursday, December 06, 2007 11:05 PM To: user@ant.apache.org Subject: Ant task for auto gen. release.txt form src-files! Hi All, I've one question to ant users. I need a ant-task tha

RE: rexec

2007-12-14 Thread Anderson, Rob (Global Trade)
Use the -lib option when running ant. For example... ant -lib /path/to/jars target See the documentation for more details. http://ant.apache.org/manual/running.html#options -Rob Anderson -Original Message- From: Bourzeix, Hervé [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 12

RE: How to conditionally run a group of targets?

2007-12-14 Thread Anderson, Rob (Global Trade)
Scott, In your example the "if" part of the wrapper is redundant, since all the depends have the same "if" attribute. It would work just the same, but removing the "if" part of the wrapper would allow the build to run some targets regardless. Excellent example.

Re: Handling multiple subproject in J2EE app

2007-11-28 Thread Rob Seegel
ct migrates to using Maven2. The entire process helped me to gain a better understanding of Maven2 and its configuration and repositories, which was nice, but I would have rather spent that time working on real code, instead of finessing the Maven plugin. Rob The Ivy stuff doesnt need Ant,

Re: Handling multiple subproject in J2EE app

2007-11-27 Thread Rob Seegel
the second target. In these cases we either took advantage of target dependencies, or our task, which was based off of Ant-Contrib's task. Anyway... just a few of my thoughts on it. Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Replacing chars in a property

2007-11-16 Thread Rob Wilson
I might be wrong, but I think there is a URLFixer task - or something similarly named, would that be useful? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: copy contents of a directory based on a dirset

2007-11-12 Thread Rob Wilson
ge the war file into my EAR. The > WAR's build.xml puts the WAR file into a subdirectory called "dist. > > EAR > + -- WAR > +--dist >+-- x.war > > Is there a way to use this dirset to say copy the contents of the > director

Project 'B' to depend on Project 'A' ant build?

2007-11-09 Thread Rob Wilson
of project dependency?) Cheers, Rob. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Checking whether a property is set

2007-11-09 Thread Rob Wilson
I can check whether a file exists and set a property, but can I check whether a property exists and set a property based on whether it exists? I don't mind how this is checked, I just need to make sure that my JUnit test stops if the property isn't set. C

Fail if file does not contains a string?

2007-11-08 Thread Rob Wilson
Is it possible to fail ant if a file does not contain a string? Cheers, Rob. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Can I replace some text in a fileset - using values from properties?

2007-11-07 Thread Rob Wilson
for trying the product from woof.com" Thanks, Rob. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: deploy task to Tomcat partially works

2007-11-02 Thread Rob Wilson
guide' doesn't go in to enough information. Cheers, Rob.

Re: deploy task to Tomcat partially works

2007-11-01 Thread Rob Wilson
cause of the c:/program files bit? - I also have drive E on my machine, if I remove c: it copies to e:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps ok. So whats the format to force it to go to c: ? Cheers, Rob. On 10/31/07, Steve Loughran <[EMAIL PROTECTED

deploy task to Tomcat partially works

2007-10-30 Thread Rob Wilson
ents? If I manually copy the war file to {webapps} it all works properly!!?! Here is my full ant build file... Any help would be very much appreciated. Cheers, Rob. http://localhost:8080/manager"/>

RE: using private key authentication (deploy option)

2007-10-25 Thread Anderson, Rob (Global Trade)
Yes. It is documented in the manual. http://ant.apache.org/manual/OptionalTasks/sshexec.html -Rob A > -Original Message- > From: Joao Miguel Ferreira [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 25, 2007 10:33 AM > To: Ant Users List > Subject: Re: us

Re: possible to open an alert window?

2007-10-25 Thread Rob Wilson
That's a very useful tip! On 10/25/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > > or use >