RE: build problem

2007-04-02 Thread Shatzer, Larry
can only create > our workflow by writing a build.xml file manually. Am I correct? > > "Shatzer, Larry" <[EMAIL PROTECTED]> wrote: > I suggest you read the Manual to ant: > http://ant.apache.org/manual/index.html (Specifically: > http://ant.apache.org/manual/using

RE: build problem

2007-04-02 Thread Shatzer, Larry
I suggest you read the Manual to ant: http://ant.apache.org/manual/index.html (Specifically: http://ant.apache.org/manual/using.html) You need to have a build file to use, either written by you, or provided with the source code for the program you are trying to compile. -- Larry > -Original

RE: Ant decomment task problem

2006-11-06 Thread Shatzer, Larry
Decomment is not a core ant task, you will have to ask the author of that task for help. http://andariel.uworks.net/ I noticed this comment in the javadoc Warning!! The decomment process uses regular expressions. There's not a syntactic analysis, so there might be unexpected results if there are

RE: Checking for non-existence of environment variable

2006-01-24 Thread Shatzer, Larry
> -Original Message- > From: Sergei Dubov [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 24, 2006 12:48 PM > To: user@ant.apache.org > Subject: Checking for non-existence of environment variable > > > And potential check will think it actually HAS value. Is > there any way to make

RE: How to get 'return-properties' from an ant-call to another bu ild-file?

2005-10-31 Thread Shatzer, Larry
The optional task will take a prefix that you can use to echo only clover.* properties out to a file. > -Original Message- > From: Roland Asmann [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 30, 2005 8:49 AM > To: user@ant.apache.org > Subject: Re: How to get 'return-properties' from

RE: Continuing past errors

2005-10-24 Thread Shatzer, Larry
Since you are already using ant-contrib, look at the try/catch tasks it offers as well. > -Original Message- > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > Sent: Monday, October 24, 2005 4:31 PM > To: Ant Users List > Subject: Continuing past errors > > > Hi, > > I'm working

RE: indirect property evaluation

2005-10-19 Thread Shatzer, Larry
Or from ant-contrib. http://ant-contrib.sourceforge.net/tasks/tasks/propertycopy.html > -Original Message- > From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 19, 2005 12:31 PM > To: Ant Users List > Subject: Re: indirect property evaluation > > > A simp

RE: Help with choosing build property file

2005-10-07 Thread Shatzer, Larry
> -Original Message- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Friday, October 07, 2005 8:43 AM > To: Ant Users List > Subject: RE: Help with choosing build property file > > > Hi James, > > Both your links point to the same resource (the first hit in google). > > However,

RE: ANT CVS and log

2005-09-12 Thread Shatzer, Larry
> -Original Message- > From: David TROGDON [mailto:[EMAIL PROTECTED] > Sent: Monday, September 12, 2005 11:17 AM > To: user@ant.apache.org > Subject: ANT CVS and log > > Which is obviously a bit messy and ANT does not seem to like > the <= or >= > when trying to define date ranges. > H

RE: Ant Zip Task

2005-08-04 Thread Shatzer, Larry
You might want to look at the mapper. http://ant.apache.org/manual/CoreTypes/mapper.html > -Original Message- > From: S I [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 04, 2005 9:08 AM > To: user@ant.apache.org > Subject: Ant Zip Task > > > Hi > > I'm trying to zip up bunch of f

RE: for C++project, is there any way to cache dependancy informat ion in ANT ?

2005-07-18 Thread Shatzer, Larry
? please provide suggestions, thanks hiren "Shatzer, Larry" <[EMAIL PROTECTED]> wrote: If you are using the task, there is a cache attribute. http://ant.apache.org/manual/OptionalTasks/depend.html Or are you talking with ? > -Original Message- > From: hiren patel [m

RE: replaceregexp issue: replace forward slash with backward slas h

2005-07-16 Thread Shatzer, Larry
Why not use ? http://ant.apache.org/manual/CoreTasks/pathconvert.html -- Larry -Original Message- From: Neeraj Kumar [mailto:[EMAIL PROTECTED] Sent: Saturday, July 16, 2005 5:57 AM To: Ant Users List Subject: replaceregexp issue: replace forward slash with backward slash input: c:/foo/

RE: is there any way to cache dependancy information in ANT?

2005-07-15 Thread Shatzer, Larry
If you are using the task, there is a cache attribute. http://ant.apache.org/manual/OptionalTasks/depend.html Or are you talking with ? > -Original Message- > From: hiren patel [mailto:[EMAIL PROTECTED] > Sent: Friday, July 15, 2005 6:01 PM > To: ant user group > Subject: is there any w

RE: Creating tasks in Ant for C++ project

2005-07-14 Thread Shatzer, Larry
I would look at ant-contrib's task: http://ant-contrib.sourceforge.net/cc.html > -Original Message- > From: hiren patel [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 14, 2005 5:33 PM > To: ant user group > Subject: Creating tasks in Ant for C++ project > > > Hi, > is it easy to

RE: using tstamp to time a macro execution

2005-07-14 Thread Shatzer, Larry
> To: Ant Users List > Subject: Re: using tstamp to time a macro execution > > > thanks for the suggestion, but i'm not sure i can introduce > ant-contrib > tasks. > > On 7/14/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote: > > > > Ant-contrib h

RE: using tstamp to time a macro execution

2005-07-14 Thread Shatzer, Larry
Ant-contrib has a stopwatch task: http://ant-contrib.sourceforge.net/tasks/tasks/stopwatch_task.html You also might want to look at their performance monitor: http://ant-contrib.sourceforge.net/tasks/tasks/performance_monitor.html > -Original Message- > From: Mark Lybarger [mailto:[EMAIL

RE: Tomcat 5.5.9 w/Admin installed and Java 1.5 Issue

2005-07-12 Thread Shatzer, Larry
You might want to ask the tomcat-users mailing list, and not ant's user list. http://jakarta.apache.org/site/mail2.html#Tomcat > -Original Message- > From: Rich Harris [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 12, 2005 3:13 PM > To: Ant Users List > Subject: Tomcat 5.5.9 w/Admin in

RE: cvs task failing from cron

2005-07-07 Thread Shatzer, Larry
The script that cron calls to run your ant script (if you have one) needs to set up the environment. If there is no script, but it calls ant itself, make a wrapper shell script that sets up the path. I'm sure a few google searches can help. -- Larry > -Original Message- > From: blackwater

RE: cvs task failing from cron

2005-07-07 Thread Shatzer, Larry
k that? > > echo $PATH? > > On 7/7/05, Shatzer, Larry <[EMAIL PROTECTED]> wrote: > > Make sure your script for cron sets up your path so cvs is > in your path. > > Cronjobs run in a minimal environment. > > > > -- Larry ---

RE: cvs task failing from cron

2005-07-07 Thread Shatzer, Larry
Make sure your script for cron sets up your path so cvs is in your path. Cronjobs run in a minimal environment. -- Larry > -Original Message- > From: blackwater dev [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 07, 2005 5:48 AM > To: Ant Users List > Subject: cvs task failing from cro

RE: cvs command

2005-07-06 Thread Shatzer, Larry
You need to use a ssh agent. http://www.cse.wustl.edu/~mdeters/how-to/ssh/ > -Original Message- > From: blackwater dev [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 06, 2005 11:46 AM > To: Ant Users List > Subject: cvs command > > > Hello, > > I have this cvs command: > >

RE: Ant task for remote ant execution

2005-06-30 Thread Shatzer, Larry
See http://sourceforge.net/mailarchive/forum.php?thread_id=7433601&forum_id=2912 -- Larry > -Original Message- > From: Steve Simon Joseph Fernandez [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 30, 2005 8:05 AM > To: Ant Users List > Subject: Re: Ant task for remote ant execution > >

RE: Ant task for remote ant execution

2005-06-30 Thread Shatzer, Larry
Have you looked at ant-contrib, http://ant-contrib.sourceforge.net/tasks/tasks/server_tasks.html ? -- Larry > -Original Message- > From: Steve Simon Joseph Fernandez [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 30, 2005 12:57 AM > To: Ant User List > Subject: Ant task for remote ant

FW: Error message

2005-06-27 Thread Shatzer, Larry
I am just trying to build the jakarta-tomcat-connectors-1.2.10 with the provided build.xml files and seem to be running into a lot of problems. -SB -Original Message- From: Shatzer, Larry [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 1:25 PM To: 'Ant Users List' Subject:

RE: Error message

2005-06-27 Thread Shatzer, Larry
he script I am trying to > execute does this by default: > >description="Compile jtc"> > > > > > > But it fails also complaining that "util" does not exist. > > -SB > > -Original Message- > From: Shatzer

RE: Error message

2005-06-27 Thread Shatzer, Larry
You misunderstand how works. It is used to call another ant script, and execute it. In your example, it is calling the same ant script that is running, and default target, which I guess is 'build'. Whatever you have set as basedir="" in your will be ${basedir}, and by default, it is '.' Then you

RE: Weird error with Jar task

2005-06-21 Thread Shatzer, Larry
The only time I have run into this problem is when I had a virus scanner running with real time protection on the file system. After disabling the real time file system protection everything fixed itself. -- Larry -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent

RE: Urgent help-Regarding startup and showdown script for jboss

2005-06-08 Thread Shatzer, Larry
Have you looked at the task? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 6:58 AM To: user@ant.apache.org Subject: Urgent help-Regarding startup and showdown script for jboss The following script start and stops JBOSS . But the ta

RE: Login to DB as sys user

2005-05-27 Thread Shatzer, Larry
I don't know about the sql task, but if you have a sql file, and use sqlplus (with an exec task), put this at the top of the file that needs to be run. CONNECT sys/[EMAIL PROTECTED] as sysdba ^ That part is needed. -Original Message- From: Manas Pand

RE: need help for ant scripting

2005-05-25 Thread Shatzer, Larry
Check the FAQ: http://ant.apache.org/faq.html#xml-entity-include Pay attention to the section, near the bottom. -Original Message- From: Asha [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 3:40 PM To: user@ant.apache.org Subject: need help for ant scripting Hello, Can any

RE: Problem with csc on OS X

2005-04-18 Thread Shatzer, Larry
If you want to build it, you will still need mono. What impression did you have about Ant? -- Larry -Original Message- From: Chris Altman [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 6:03 PM To: Ant Users List Subject: Re: Problem with csc on OS X I wasn't planning on runnin

RE: Problem with csc on OS X

2005-04-18 Thread Shatzer, Larry
No, it is a dependency for running .NET stuff on OSX. http://www.mono-project.com How else were you planning on running .NET stuff on OSX? -- Larry -Original Message- From: Chris Altman [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 5:55 PM To: Ant Users List Subject: Re: Probl

RE: Problem with csc on OS X

2005-04-18 Thread Shatzer, Larry
Do you have mono installed? If so, make sure that csc is in your path (by editing the correct startup script, such as .bashrc). -- Larry -Original Message- From: Chris Altman [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 5:46 PM To: user@ant.apache.org Subject: Problem with csc

RE: setLevel on echo task in JavaScript

2005-03-01 Thread Shatzer, Larry
> -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 01, 2005 2:47 PM > To: Ant Users List > Subject: RE: setLevel on echo task in JavaScript > > > With that I get: ReferenceError: "EchoLevel" is not defined. > > I guess it's because it's an inn

RE: setLevel on echo task in JavaScript

2005-03-01 Thread Shatzer, Larry
> -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 01, 2005 2:33 PM > To: Ant Users List > Subject: RE: setLevel on echo task in JavaScript > > > importClass(Packages.org.apache.tools.ant.taskdefs.Echo.EchoLevel); > info = new EchoLevel(); > i

setLevel on echo task in JavaScript

2005-03-01 Thread Shatzer, Larry
I have this javascript: echo = project.createTask("echo"); echo.setLevel("info"); echo.setMessage("test message"); echo.perform(); It fails with this error: org.mozilla.javascript.EvaluatorException: Can't find method org.apache.tools.ant.taskdefs.Echo.setLevel(string). Any idea how I can call

taskdef failing when classpathref contains a non existent directo ry

2005-01-27 Thread Shatzer, Larry
Consider the following directory structure and build file: You have a build.xml in the root directory, with a directory named lib1 with the ant-contrib jar file found in there. Here is your build file: