Re: Exec is failing, command line works fine

2007-10-02 Thread Robert Clark
On Tuesday October 2, 2007, "Steve Middleton" <[EMAIL PROTECTED]> wrote: > As for the environment variables, the documentation for "emake" is > lacking, but it doesn't mention anything about environment > variables, so I'm not entirely sure. I've contacted support for > EurekaLog, but they simpl

Re: Exec is failing, command line works fine

2007-10-02 Thread Robert Clark
On Tuesday October 2, 2007, "Steve Middleton" <[EMAIL PROTECTED]> wrote: > I'm having a problem with an executable that seems to work fine > from the command line, but does not work with the ant "exec" task. When I run into this, I generally look at 3 things: - what directory is Ant executing

Re: ant script just hang when checking out of CVS

2007-09-25 Thread Robert Clark
On Tuesday September 25, 2007, Saladin Sharif <[EMAIL PROTECTED]> wrote: > > Make use of private/public > > keys when using ":ext:" type of CVS server > > Can you please elaborate on what you mean by > "private/public keys"? Setting up SSH so that it does not require a password, yet is still sec

Re: Problem running junit on Solaris 64 bit

2007-08-27 Thread Robert Clark
On Monday August 27, 2007, cactuar <[EMAIL PROTECTED]> wrote: > Robert Clark-2 wrote: > > If you are running the JUnit tests inside of Ant, add the "-d64" > > option to the ANT_OPTS env. variable before starting Ant. > > I tried setting the ANT_OPTS env. v

Re: Problem running junit on Solaris 64 bit

2007-08-24 Thread Robert Clark
On Friday August 24, 2007, cactuar <[EMAIL PROTECTED]> wrote: > I am trying to run my JNI code using JUnit within Ant on Solaris > 5.8. However, it fails to load my shared object and gives me this > error message. > > Can't load Sparc v9 64-bit .so on a Sparc 32-bit platform > > How is it trying t

Re: Is & a somehow special character to Ant?

2007-08-24 Thread Robert Clark
On Friday August 24, 2007, Krzysztof Kucybała <[EMAIL PROTECTED]> wrote: > I'm trying to use the exec task to issue a shell command, whose > output to stderr and stdout I'd really like redirected to a file > and the deleted, as it is not relevant and is corrupting my build > report. So this is wha

Re: Testing a file if it is binary or not.

2007-08-21 Thread Robert Clark
On Monday August 20, 2007, "David Weintraub" <[EMAIL PROTECTED]> wrote: > I would use a Perl script to read the first 8000 or so bytes of a > file and look for characters outside of what you'd expect to be > ASCII range. Using Perl, the -T (for text) and -B (for binary) flags do pretty much exac

Re: ant cvs error

2007-06-26 Thread Robert Clark
On Tuesday June 26, 2007, "Martin Gainty" <[EMAIL PROTECTED]> wrote: > Is there a cvs binary that needs to be installed? > I didnt see this in ant distro?! Yes. Ant does not include CVS, it is a separate product. You can get it from . - Rob -

Re: ant cvs error

2007-06-26 Thread Robert Clark
On Tuesday June 26, 2007, "Martin Gainty" <[EMAIL PROTECTED]> wrote: > when running the ant cvs task example from the book > package="ant" >dest="." > /> > > I get > svn_checkout: > [cvs] Caught exception: CreateProcess: cvs > -d:pserver:[EMAIL PROTECTED] rg:/home/cvspublic

Re: help! how to send multiple files to remote machine? ant-jsch

2007-04-19 Thread Robert Clark
On Thursday April 19, 2007, Anil Philip <[EMAIL PROTECTED]> wrote: > Do you mean jsch API? > (there is no jscp api) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: ant run command piping and get out put to value

2007-02-12 Thread Robert Clark
On Monday February 12, 2007, "Peter Reilly" <[EMAIL PROTECTED]> wrote: > On 2/12/07, James Abley <[EMAIL PROTECTED]> wrote: > > Probably something like: > > > > > > > > > > > > > > > > or: > > > > > (note: in the second example, one does not need to us

Re: create a dir with current date

2006-10-20 Thread Robert Clark
On Friday October 20, 2006 15:05, "Muthyala, Sunil" <[EMAIL PROTECTED]> wrote: > I am trying to create a directory with current system date, I tried > using "tstamp" but did not work. Should do the trick for you. You can adjust the partern to be any date format you want. > Where can I

Re: Capture returned value from Java?

2006-09-28 Thread Robert Clark
On Thursday September 28, 2006 15:21, [EMAIL PROTECTED] wrote: > I'm confused about the "outputproperty" attribute of the > 1) What exactly does the "output of the command" mean? Whatever text is passed to System.out.print* (and System.err.print* usually, that's the "Unless the error stream is

Re: How to get debug info on java task failure

2006-09-28 Thread Robert Clark
On Thursday September 28, 2006 13:31, [EMAIL PROTECTED] wrote: > The %ERRORLEVEL% value is 0, so I'm really no closer to > understanding why the execution of the class works at the command > line and fails in Ant. > > Is there a way to get more information from Ant? You can use the -v/-verbose or

Re: Manifest doesn't support the "file" attribute

2006-07-17 Thread Robert Clark
On Monday July 17, 2006 17:06, Bala Paranj <[EMAIL PROTECTED]> wrote: > I am using the following ant section to generate the manifest file > so that I can run the program by using the generated jar file. > >depends="compile"> > > > > >

Re: Recursive Text Replacement in Files with no Extension

2006-05-08 Thread Robert Clark
On Monday May 8, 2006 16:18, [EMAIL PROTECTED] wrote: > I'm trying to use a "replace" task to recursively replace > a string in a set of files, but it only seems to work if > the file names have an extension (e.g. **/*.java). In my > case, I am trying to recursively edit the set of files > named "

Re: Am I completely misunderstanding the fail/unless task?

2006-05-03 Thread Robert Clark
On Wednesday May 3, 2006 15:31, "Trent Ohannessian" <[EMAIL PROTECTED]> wrote: > > > BUILD FAILED > D:\Open Source Projects\Canoo Web Test\my_tests\webtest.xml:3: > Missing environment parameter. > > Here is env: dev > > Usage: > webtest -buildfile webtest.xm

Re: SystemClassLoader fails to load inside my own ant task

2006-04-20 Thread Robert Clark
On Thursday April 20, 2006 13:23, "Peter Reilly" <[EMAIL PROTECTED]> wrote: > Using CLASSPATH will not work as the > ant bash and cmd script messes around with > the CLASSPATH, the classpath given > to java for ant is "LOCALCLASSPATH" which > is set by the script. Of course, my mistake. Peter is

Re: SystemClassLoader fails to load inside my own ant task

2006-04-20 Thread Robert Clark
On Tuesday April 18, 2006 17:20, Marcel Ruff <[EMAIL PROTECTED]> wrote: > ... > > The java.util.logging.LogManager.java uses following code: > > Class clz = ClassLoader.getSystemClassLoader().loadClass(word); > > It seems the system class loader does not find my XbNotifyHandler > class even that

Re: Weird compilation problems

2006-04-06 Thread Robert Clark
On Thursday April 6, 2006 17:18, Milen Dzhumerov <[EMAIL PROTECTED]> wrote: > I've been trying to compile a few simple classes with Ant and > everything is fine except that it produces a class twice with the > name: SqlErrorCond$1.class > SqlErrorCond.class > The files have different sizes. Those

Re: scp "auth cancel" error

2006-04-05 Thread Robert Clark
On Wednesday April 5, 2006 17:23, "Brown, Carlton" <[EMAIL PROTECTED]> wrote: > Can anyone shed light on this scp failure? It's possible I made a > mistake although I checked my work. > [scp] Connecting to some.host.com:22 > > BUILD FAILED > > D:\dev\R2.0\src\test\build.xml:9: com.jcraft.j

Re: Urgently help needed on condition task .

2006-02-27 Thread Robert Clark
On Monday February 27, 2006 01:30, "Shweta Bodade" <[EMAIL PROTECTED]> wrote: > But when I give i/p as 1 or 2 it does not go to respective target. > Am I missing something. Its real urgent any help would be great [ SNIP ] Below you are setting the property "servername" to Tomcat if the use selec

Re: dir check

2005-11-25 Thread Robert Clark
On Friday November 25, 2005 09:03 am, "Andrei" <[EMAIL PROTECTED]> wrote: > Does any body know an ant task which verifies if a directory > exists? is the task you are looking for. For example: - Rob -- This is not an automated s

Re: How can ant detect it is running on a 64 bit machine?

2005-10-17 Thread Robert Clark
On Monday October 17, 2005 01:26 pm, "Marion, Patrick" <[EMAIL PROTECTED]> wrote: > Thank you all for your suggestions. Indeed I cannot rely on the > JVM currently running to tell me whether the machine architecture > itself is 64bit, since a 32bit JVM can run on a 64Bit machine. Ahhh, I was mis

Re: How can ant detect it is running on a 64 bit machine?

2005-10-14 Thread Robert Clark
On Thursday October 13, 2005 08:06 pm, "Marion, Patrick" <[EMAIL PROTECTED]> wrote: > Problem: > have ant tell me whether I am running on a 64 bit architecture. > > I thought the solution was: > > check for the value of the "os.arch" property. > > Unfortunately, if I can make something

Re: How to set native OS variables?

2005-09-28 Thread Robert Clark
On Wednesday September 28, 2005 12:57 pm, "Cels M." <[EMAIL PROTECTED]> wrote: > I need to set the native OS classpath and them an > application. I've been reading the ant docs and several usenet > posts but didn't find a way to do it. It's quite simple to retrieve > the OS properties but, is

Re: ant log

2005-09-15 Thread Robert Clark
On Thursday September 15, 2005 04:31 am, Giuliano Dessì <[EMAIL PROTECTED]> wrote: > I've found an expression that I don't understand: "PR: 11557" > 11557 is certanly a bug because I've found it in Bugzilla's > archieves.. But I don't understand what PR means.. PR == "Problem Report". Another nam

Re: Issues with vs

2004-05-14 Thread Robert Clark
On Fri, 2004-05-14 at 08:38, Robert Mark Bram wrote: > When using java task anyway, I found a way to supply a name for the new > window.. > >classpath="${clink_jar}:${xerces_jar}:${xml_jar}:${classes}" > fork="true" > spawn="true"> > > > >