ANT rookie needs debugging help

2017-09-18 Thread Barry Kimelman
I am working with ANT 1.10.1 on a 64 bit Linux system. Is it possible o get ANT to show the commands it needs to execute without actually executing them ? (kind of like the old "make -n" command)

Property File load issue

2010-04-14 Thread Barry Pape
We are using ant 1.7, jdk 1.6.0_16, and Windows XP. So far, I have not found a solution via google L Any ideas? Thanks, Barry Confidentiality Notice! This electronic transmission and any attached documents or other writings are confidential and are for the sole use of the int

RE: Exec Connection Not Closing

2010-02-24 Thread Barry Pape
d.xml file and is executed through an antpublisher in the CruiseControl config file. Thanks, Barry -Original Message- From: Antoine Levy-Lambert [mailto:anto...@gmx.de] Sent: Monday, February 22, 2010 1:17 PM To: Ant Users List Subject: Re: Exec Connection Not Closing Barry Pape wrote

RE: Exec Connection Not Closing

2010-02-22 Thread Barry Pape
here. Thanks for the suggestions and if there are any other ideas I'd love to hear them. Thanks, Barry [cc]Feb-22 11:12:13 ScriptRunner - 2010-02-22 11:12:13 [cc]Feb-22 11:12:13 ScriptRunner - Full thread dump Java HotSpot(TM) Server VM (14.2-b01 mixed mode): [cc]Feb-22 11:12:13 ScriptR

Exec Connection Not Closing

2010-02-12 Thread Barry Pape
o was hide the stuck process. Any thoughts or suggestions are much appreciated! Thanks, Barry Confidentiality Notice! This electronic transmission and any attached documents or other writings are confidential and are for the sole use of the intended recipient(s) identified above. This me

ivy:publish question

2009-02-18 Thread Barry Pape
em to our local repository. I'm new to ivy and this is part of my testing so that we can decide between ivy+ant and maven. Right now, I'm only working with two jars to get the basic concepts/configuration in place. Any advice is much appreciated. Thanks,

RE: ANT failing from command line

2008-12-02 Thread Barry Pape
If you run the command 'which ant' does it return the location of the 1.6.2 version that is being picked up? -Original Message- From: Ammar Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 8:44 AM To: Ant Users List Subject: RE: ANT failing from command line Thanks Mike f

RE: ANT Script to do tasks like running tom compile updated source file ...

2008-09-15 Thread Barry Pape
That is not likely to happen. Ant build scripts come in many shapes and sizes and it is very unlikely that someone will have one that will work in your environment. You will want to start with the manual: http://ant.apache.org/manual/index.html, and create your script. Along the way you can post

RE: Using scp -- how to find or make a keyfile?

2008-08-19 Thread Barry Pape
Can you use ssh keys? Here's a nice walkthrough: http://www.sshkeychain.org/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOW TO-4.html -Original Message- From: RobG [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2008 3:03 PM To: Ant Users List Subject: Using scp -- how to find or make a

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-23 Thread Barry Pape
27;s wrong here.. I tried with nohup set to true and false and my log shows this: Pseudo-terminal will not be allocated because stdin is not a terminal. sudo: sorry, you must have a tty to run sudo Barry Pape wrote: > > I went through this type of thing back in January. Maybe my finding

RE: sshexec (running remote commands with sudo) forced psuedo-tty allocation

2008-07-22 Thread Barry Pape
I went through this type of thing back in January. Maybe my findings can help you out, the full thread is here: http://marc.info/?l=ant-user&m=120128316829325&w=2 -Original Message- From: mindspin311 [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 11:08 AM To: user@ant.apache.org

RE: Ant loop

2008-05-22 Thread Barry Pape
Maybe the task is what you want: http://ant.apache.org/manual/index.html -Original Message- From: I am Who i am [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 9:31 AM To: Ant Users List Subject: Re: Ant loop Thanks for answering, may be i was not clear on my question,,, i actua

RE: Strip directory from fileset includesfile jar location

2008-05-19 Thread Barry Pape
Zipfileset works with jars also, I don't know if there is a reason not to use it with them though. The prefix attribute allows you to change the path for the files of the fileset in the archive. http://ant.apache.org/manual/CoreTypes/zipfileset.html -Barry -Original Message- From

RE: how to define task sshexec

2008-02-11 Thread Barry Pape
Maybe this will help you out: http://ant.apache.org/manual/OptionalTasks/sshexec.html -Original Message- From: serdsch [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 10:49 AM To: user@ant.apache.org Subject: how to define task sshexec Hi @all! I want to use sshexec and I'm t

RE: well-defined ant/xslt problem: (how) can I do this?

2008-02-07 Thread Barry Pape
There is a target attribute for the foreach task. So I'm thinking you would want to do something like this: -Original Message- From: Bill Milbratz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 07, 2008 12:55 PM To: user@ant.apache.org Subject: Re: well-defined ant/xslt problem:

RE: -lib and saxon8 on SUSE 10.3

2008-02-06 Thread Barry Pape
Is the saxon jar on the classpath on the suse machine? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Schröder Sent: Tuesday, February 05, 2008 7:53 AM To: user@ant.apache.org Subject: -lib and saxon8 on SUSE 10.3 Hi, if this is a FAQ, pointers ar

RE: nohup and Ant question

2008-01-28 Thread Barry Pape
tting rexec to work and went back to exec. -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 3:23 PM To: Ant Users List Subject: Re: nohup and Ant question Barry It's a little complicated for me in that solution. Do you have a simpler one ? Will i

RE: nohup and Ant question

2008-01-28 Thread Barry Pape
Sounds similar to the issue I just had. The solution that worked for me came from here: http://marc.info/?l=ant-user&m=100621497023872&w=2 -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 3:25 PM To: Ant Users List Subject: Re: nohup and Ant question

RE: exec with -t argument

2008-01-25 Thread Barry Pape
g+Servertests+with+Ant -Original Message- From: Barry Pape [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 5:41 PM To: Ant Users List Subject: RE: exec with -t argument Unless I'm overlooking something with sshexec it doesn't accomplish my task either. That may be

RE: Overwrite Property at runtime

2008-01-24 Thread Barry Andreasen
There are several ways to accomplish this depending on your workflow and process requirements. You could do this with the -D= command parameter (passing the runtime value in from the ant commandline). Another option is to use the element to prompt the user for a dynamic value. For example:

RE: Checking a property with ant

2008-01-24 Thread Barry Andreasen
This is a 2 step process. First you need to also create a conditional property based on the value of the property test. Then you can use that conditional property in target elements to conditionalize their execution. For instance Step 1: Step 2: ... your target elements __

RE: exec with -t argument

2008-01-21 Thread Barry Pape
he ant call of the script: Any idea whether my issue is lies with ant or solaris? Thanks to all who have offered advice! Barry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 12:10 AM To: user@a

RE: exec with -t argument

2008-01-18 Thread Barry Pape
[exec] The ' characters around the executable and arguments are [exec] not part of the command. [exec] Pseudo-terminal will not be allocated because stdin is not a terminal. Thanks, Barry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday,

exec with -t argument

2008-01-17 Thread Barry Pape
y suggestions are much appreciated. My ant target: Both the invoking server and remote server are running solaris. Thanks, Barry - Confidentiality Notice! This electronic transmission and any attach

RE: environment attribute

2008-01-08 Thread Barry Pape
HOSTNAME variable is exported to sub shells? Does cruisecontrol execute under your ID or asynchronously? It is possible that cruisecontrol runs under a different ID even if you kick it off manually. The output of the env command should give an indication. Barry Pape <[EMAIL PROTECTED]> wrote: Than

RE: environment attribute

2008-01-04 Thread Barry Pape
25100-10 [EMAIL PROTECTED] ~/cruisecontrol/projects/webnew-dec2007/netsoft/webnew $ echo $OSTYPE solaris2.10 Thanks, Barry -Original Message- From: Chuck Holzwarth [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 3:03 PM To: Ant Users List Subject: Re: environment attribute I

environment attribute

2008-01-04 Thread Barry Pape
host name Which results in: $ ant hostname Buildfile: build.xml hostname: [echo] Using ${env.HOSTNAME} for host name BUILD SUCCESSFUL Total time: 2 seconds Any help is much appreciated. Barry And Happy New Year to all! - Confidentiality No

RE: How to conditionally run a group of targets?

2007-12-14 Thread Barry Pape
Someone recently mentioned the antcallback task which is part of ant-contrib. It's the same as antcall but allows properties set in the called target to be available for use in the calling target. Maybe that would work for you. http://antelope.tigris.org/nonav/docs/manual/bk03ch20.html

RE: zip update

2007-10-30 Thread Barry Pape
Fixing my last example...100 not 500 files. -Original Message- From: Barry Pape [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 4:56 PM To: Ant Users List Subject: zip update Howdy Ant Gurus, We recently experienced a dramatic increase in our build time (~100

zip update

2007-10-30 Thread Barry Pape
ng 500 files to x.zip, whereas adding 100 files to x.zip (which contains 100 files and is 10MB) is considerably faster than adding 500 files to y.zip (which contains 1000 files and is 40MB). Thanks, Barry - Confidentiality Notice! This electronic trans

RE: using ANT to check for any code changes in CVS

2007-10-09 Thread Barry Pape
You may want to take a look at Hudson as well: https://hudson.dev.java.net/ -Original Message- From: Saladin Sharif [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 2:04 PM To: Ant Users List Subject: Re: using ANT to check for any code changes in CVS >You should look at Cruise

RE: ant script just hang when checking out of CVS

2007-09-24 Thread Barry Pape
I seem to remember having issues when trying to use passfile and ended up using ssh keys on the client and server instead. http://www.sshkeychain.org/mirrors/SSH-with-Keys-HOWTO/SSH-with-Keys-HOW TO-4.html -Original Message- From: Theepan. T [mailto:[EMAIL PROTECTED] Sent: Monday, Septemb

RE: war inlcude problem

2007-09-14 Thread Barry Pape
If I understand correctly, adding the prefix attribute should do the trick: Regards, Barry -Original Message- From: Mitja B. [mailto:[EMAIL PROTECTED] Sent

Re: junit printsummary and showoutput

2006-02-13 Thread Paul Barry
ut. On 2/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Does a formatter produce that output? > > Jan > > >-Ursprüngliche Nachricht- > >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im > >Auftrag von Paul Barry > >Gesendet: Samstag,

junit printsummary and showoutput

2006-02-10 Thread Paul Barry
I have a junit task with printsummary="off" and showoutput="false", yet I still get the output and summary. What values should I use to supress the output of the unit tests?

Re: Configuration of .htaccess file

2005-09-26 Thread Barry White
For many Apache means the httpd server, when in fact this is just one sub-project (like Ant). So when you're looking for docs you want the HTTPD project. Barry Frank Arensmeier wrote: Thank you all! You made my day. 2005-09-26 kl. 10.25 skrev Jon McLennan: I'm sure you'l

Re: Configuration of .htaccess file

2005-09-26 Thread Barry White
try this link: http://httpd.apache.org/lists.html Barry Frank Arensmeier wrote: ... and the address would be...? Honestly, I feel lost. I can't find a general apache mailing list. Is httpd.apache.org a good idea? Monday morning, what else can i say? /frank 2005-09-26 kl. 10.00 skrev Ni

Re: Extracting application version from Java file

2005-09-20 Thread Barry White
Hi Nicolas, how about controlling the version number in the build? then update the version in the source file on every build: and then compile and use ${version} to name the jar? Barry Nicolas Vervelle wrote: Hi, In one of my Java source file, I have a line like this

Re: where is the problem?

2005-09-20 Thread Barry White
ting - Ant does the rest. Good luck, Barry Aydın Toprak wrote: Thanks Barry, But I have already added those paths to my enviroment and everything (excep this) works smoothly.. how ever, it still resists about the missing packages.. but I have them and can compile the java code on the command pro

Re: where is the problem?

2005-09-20 Thread Barry White
Hi Aydin, try putting the servlet (J2EE) classes in the classpath for the javac task. The following page shows you how to do this under references (it should look familiar): http://ant.apache.org/manual/using.html Barry Aydın Toprak wrote: hii everybody, I am newbie about ant I am having

Re: Specifying the java runtime for Ant

2005-09-15 Thread Barry White
the bootclasspath: Hoping that this was your problem ;) Barry Andy Wickson wrote: Hi, I know that using I can specify the javac that I want to use for a compilation but is it possible to do this the other way round? I.e., I want to explicitly specify to Ant the runtime to use for itself

Re: Very basic newby problem?

2005-09-13 Thread Barry White
this and see how you get on, Barry Andy Wickson wrote: Hi, I am attempting the run the following ant script: simple example build file where common is a directory under the root directory (containing the build.xml file) that contains some java source files. When I run the script

Re: javac debug option

2005-09-08 Thread Barry White
ument." Barry Eduardo Yáñez Parareda wrote: Hi all, Which is the value I have to assign to 'debug' option of javac task? Ant documentation of Core tasks (http://ant.apache.org/manual/index.html) says that debug may be assigned to 'true', but in the examples it is assigne

Re: Problem about send mail

2005-08-24 Thread Barry White
Your build assumes that smtp.gmail.com is waiting for insecure connections on the standard smtp port. As far as I know, for smtp.gmail.com, you need to use port 587 with TLS enabled. Looking at the docs you will need JavaMail in you classpath too. Try: hi all: I want to send a mail use ant

Re: can ant solve this rather complex challenge

2005-08-23 Thread Barry White
Have you looked at writing cutom ant tasks? It maye help to handle some of the messier details. Barry Scott Bell wrote: Problem statement: I have a number of simple tcl scripts, and they take a set number of params as input (argv). Usually 1-10 params. They can all run standalone, but

Re: encrypted passwords with ant

2005-08-17 Thread Barry White
Good point... you also have to keep an eye over your shoulder ;) Steve Loughran wrote: Barry White wrote: Hi Mark, not really an answer to your question but two solutions to this problem that I have used before: - pass the variable in on the command line (ant -Dpassword:x) that

Re: encrypted passwords with ant

2005-08-17 Thread Barry White
Hi Mark, not really an answer to your question but two solutions to this problem that I have used before: - pass the variable in on the command line (ant -Dpassword:x) - use a properties file but only keep an example of the file under version control (project.properties.example) Barry

Any recommended methods for build and deployment in weblogic and jboss servers?

2004-10-19 Thread barry
Hi all, I know that this is a rather open question. Are there any recommended ways of building and deploying application to weblogic and jboss servers? For example, in build, using Ant in only the build server, then create packages (what type of format for weblogic and jboss?) then deliver (rs

Re: How to suppress output?

2004-03-17 Thread barry
Matt, Thanks for your info. I am only curious at this point how to stop the with the parameters documented. I think it will be great if we can suppress output selectively. I will use the instead. B. > The "Execute failed" message comes from Ant. Why > execute cp if you can verify its (non

Re: How to suppress output?

2004-03-17 Thread barry
Thank you for the details :) But I must be doing something wrong... I do Knowingly that it is an window box. It is still giving me "Execute failed" message. Any ideas? B. > > > - To unsubscribe, e-mail: [EMAIL P

Re: How to suppress output?

2004-03-17 Thread barry
Matt, I dont think output="${null.device}" works for me. Any reasons? Do i need to set something in order to use it? Thanks B. > This is more to the point than calling cp > indiscriminately. However, to answer your original > question, using 's outputproperty attribute > should suppress the o

Re: How to suppress output?

2004-03-17 Thread barry
out from ? If i > am trying to exec "cp" in dos, then it will tell me "Execute failed: > java.io. ..." > > How can i suppress the output? I have tried every parameters and still no use. > > Please enlight me. > > Barry ---

How to suppress output?

2004-03-17 Thread barry
All, How can i make it totally quiet with the output coming out from ? If i am trying to exec "cp" in dos, then it will tell me "Execute failed: java.io. ..." How can i suppress the output? I have tried every parameters and still no use. Pleas

Re: Using Microsoft VC++ compiler for compiling C and C++ projects?

2004-01-28 Thread barry
Dominique, Thank you for your information and may i send you email directly with some Ant/C related questions? Barry - Original Message - From: "Dominique Devienne" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Wedne

dependency between subdirectories

2004-01-28 Thread barry
All, I am still looking for the answers to resolve the dependencies between two subdirectories. Please advice. top/build.xml A/build.xml B/build.xml Top/build.xml calling A and B by using Questions 1) Am I using the right method to compile subdirectories? Please keep in mind

Re: os.name for windows return "Windows XP"?

2004-01-26 Thread barry
All, How can I improve the following code in ant? Thanks B. - - - - - - - - Original Message - From: "Conor MacNeill" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 15, 2004 6:31 PM Subject

os.name for windows return "Windows XP"?

2004-01-15 Thread barry
this with one word .properties name? Thanks Barry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: multiple selection of classpath??

2003-12-15 Thread barry
Antonine, What should be the content of the init.tomcat? I think I am trying to do the same thing like you said but the classpath defined in init.tomcat does not seem to recongised in other parts of build.xml... Please see the other email for detail codes. Thanks BArry Quoting Antoine Lévy

Re: How can I select different classpath for building different apps?

2003-12-15 Thread barry
: JAVAC: ERROR: BUILD FAILED file:/home/barry/workarea/src/server/build.xml:245: Reference