RE: Is there a login "wait for password" target/task?

2009-02-23 Thread Kajsa.Anderson
I'm not sure if you're familiar with perforce's tickets, Martin, but the file that's saved contains a hash of the password, not the plain-text password Kajsa > -Original Message- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: Monday, February 23, 2009 9:44 AM > To: Ant

RE: Is there a login "wait for password" target/task?

2009-02-23 Thread Kajsa.Anderson
We use this for an automated nightly build, too - the login ticket for the nightly build perforce user is set to be saved for a year. I guess it's not quite zero intervention, but it's close enough to zero for us. :) Kajsa > -Original Message- > From: Scott Stark [mailto:sst...@us.ibm.c

RE: Is there a login "wait for password" target/task?

2009-02-21 Thread Kajsa.Anderson
For our Perforce tasks that we've automated with Ant, we login once outside the script, and just save the login ticket that perforce creates. Is that an option? Kajsa Anderson > -Original Message- > From: Brian Pontarelli [mailto:br...@pontarelli.com] > Sent: Friday, February 20, 2009

RE: AW: how to get a process id from a spawned task?

2007-06-13 Thread Kajsa.Anderson
This snippet doesn't exactly give you the PID, but it gives something that's close enough for what I needed (and may be sufficient for the OP's use case, I'm not sure): import java.lang.management.ManagementFactory; ... ManagementFactory.getRuntimeMXBean().getName(); // gets PID of c

RE: Settting environment variables

2007-04-19 Thread Kajsa.Anderson
Propertys in Ant are immutable, so you can't reset the value (with vanilla Ant - ant-contrib may let you). Depending on what you need the system property for, though, you may be able to use . Kajsa -Original Message- From: query [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 200

RE: Passing sysproperties from a file

2006-03-03 Thread Kajsa.Anderson
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 15, 2006 10:49 AM > To: user@ant.apache.org > Subject: Passing sysproperties from a file > > Hi, > > I'm trying to include a set of properties, taken from a file, > in the Java task as s

RE: javadoc

2005-12-13 Thread Kajsa.Anderson
Try this format for your packagenames attribute: packagenames="heavyweight.gui,heavyweight.io,heavyweight.re,heavyweight. util" HTH, Kajsa Anderson > -Original Message- > From: Thom Hehl [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 13, 2005 1:46 PM > To: user@ant.apache.org > Sub

RE: Including properties files in my buld.xml file

2005-06-08 Thread Kajsa.Anderson
Take a look at the target - http://ant.apache.org/manual/CoreTasks/copy.html > -Original Message- > From: Paul Goepfert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 08, 2005 11:32 AM > To: user@ant.apache.org > Subject: Including properties files in my buld.xml file > > > Hi, > >

RE: cross-platform vss ant script?

2005-06-03 Thread Kajsa.Anderson
> -Original Message- > Thanks Murali, > Yes, I had found SOS, but it seems too GUI for use in ant. CodeForge > looks perfect. > chad Note that there is also a command-line version of SOS, and ant tasks for it. I tried them out a while back (over a year ago), with fair-to-middling succe

RE: Problem with Installing Ant == using Windows

2005-06-02 Thread Kajsa.Anderson
> -Original Message- > I have the ant.bat and ant in one folder say c:aglets\bin. > I have installed ant in C:\Program Files\ant (AKA: ANT_HOME). > Java is in C:\Program Files\Java\j2sdk_1.4.0_04 (AKA: JAVA_HOME). > Java environment variable PATH = %JAVA_HOME%\bin > Ant environment variabl

RE: Classpath reference

2005-04-11 Thread Kajsa.Anderson
You will generally get a better response if you start a new thread for your question (with a subject that somehow describes your question/problem), rather than replying to someone else's question. > -Original Message- > From: Singh, Arti [mailto:[EMAIL PROTECTED] > Sent: Monday, April 1

RE: Odd MailLogger issue..

2005-03-09 Thread Kajsa.Anderson
I invoke MailLogger like so: ant -logger org.apache.tools.ant.listener.MailLogger -DMailLogger.properties.file=maillogger.properties I have a vague recollection that when I tried to set the same properties without setting ${MailLogger.properties.file}, it didn't work... Don't know if that help

RE: junit.fork

2005-03-08 Thread Kajsa.Anderson
> -Original Message- > All I want to do is get ant to not fork java. Will this junit > stuff help me? If so, how do I do it? Remember, I'm very new > to ant and Java. > > Don Payette > How are you running ant? The usual way is to define your build process in an xml file, usually calle

RE: Bad syntax or unknown instruction

2005-03-02 Thread Kajsa.Anderson
Can someone stop the spam from this thing? > -Original Message- > From: Minimalist Manager [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02, 2005 4:07 PM > To: Ant Users List > Subject: Bad syntax or unknown instruction > > > * Ant Exception Error * > > ERROR: > Bad syntax o

RE: JUnit task problem

2005-02-17 Thread Kajsa.Anderson
Ah - I see you don't have a specified - try: That should at least give you a stack trace. For some good info on using JUnit with Ant, see http://www.manning-source.com/books/hatcher/hatcher_ch04.pdf (sample chapter Testing with JUnit, from Java Development with Ant). K

RE: JUnit task problem

2005-02-17 Thread Kajsa.Anderson
I think your test class needs a constructor (inserted below). > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 11:29 AM > To: user@ant.apache.org > Subject: JUnit task problem > > > Hi again... having a bit of problem with my f

RE: How to exclude directories

2005-02-16 Thread Kajsa.Anderson
> I want to exclude that source directory. Here's the target > I've defined: > > >excludes="**/vssver.scc,**/source" /> > > > The SoruceSafe files (vssver.scc) get excluded just fine, but > no matter > what I try for the directory I can't get it to work (I've > tried **/sour

RE: Echo: How to include a \t.

2005-01-28 Thread Kajsa.Anderson
> From: Nat Gross [mailto:[EMAIL PROTECTED] > Matt Benson wrote: > >--- Nat Gross <[EMAIL PROTECTED]> > >wrote: > > > >>Hi; > >>How can I embed a \t within an echo string? > >>I tried to console and file, with and without > >>message attribute, to no > >>avail. > > > >I believe this is an XML thin

RE: perforce tasks

2005-01-14 Thread Kajsa.Anderson
> I think the failonerror attribute can just be used to make > the Perforce > tasks more lenient on some type of errors; but if you say > failonerror="false", you cannot get the error(s) which > happen, they are > swallowed. Ok, that's what I was afraid of when I couldn't find it in the manua

perforce tasks

2005-01-13 Thread Kajsa.Anderson
I notice that the perforce tasks have a failonerror attribute, but I don't see any way to set a property if there is an error. Am I just missing something? I've also found what I think are a few errors (or at least places that could be clarified) in the manual page for the Perforce optional tas

RE: ${ant.home} partly broken in Ant 1.6.2 - also ${ant.library.dir}

2005-01-04 Thread Kajsa.Anderson
I did a bit of experimenting with this, and it does seem to be an Eclipse issue. It looks to me like it's a problem with the Eclipse Ant editor trying to resolve the filename without first resolving properties in the filename. If so, that would explain why your work-around works. Rhino, have

RE: Compiling against a shared code area

2004-12-30 Thread Kajsa.Anderson
I didn't test this, but I think it should work; the manual says that acts as a fileset, so I would think you could use a selector... HTH Kajsa Anderson - To unsubscribe, e-mail: [

RE: How to replace a property defined string with multiple lines

2004-12-08 Thread Kajsa.Anderson
Generally when you see ${some.property.name}, it's because the property isn't actually being set... You might try adding an just after the spot where you think you're setting it, and see what you get. Kajsa Anderson -Original Message- From: Daisy Guo [mailto:[EMAIL PROTECTED] Sent:

RE: [newbie] excludesfile not working?

2004-12-08 Thread Kajsa.Anderson
>From the manual page for Fileset: excludesfilethe name of a file; each line of this file is taken to be an exclude pattern. So you want , not . Kajsa Anderson -Original Message- From: JEFF EMMINGER [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 9:38 AM To: '[EMAIL PRO