Re: Problems with

2011-01-14 Thread Kevin Jackson
Hi, >> Or generate the classpath of your jar using manifestclasspath and remove the >> nested classpath element on java. Eventually this is what worked - thanks for the help. Kev - To unsubscribe, e-mail: user-unsubscr...@ant.a

Re: Problems with

2011-01-11 Thread Kevin Jackson
> what about trying to remove the classpath attribute from the manifest of the > jar that you are building ? > > Also, the manifestclasspath source code tells me that a classpath attribute > in a manifest is separated by spaces, > not semicolons. > > Or generate the classpath of your jar using mani

Problems with

2011-01-10 Thread Kevin Jackson
Hi all, Not sure if this is user error (suspect it's me being dumb) or an issue in the trunk/HEAD of core. My build works on debian, but here I'm stick on XP and for some reason the classpath is simply not being set I'm building a small parser and I'm using antlr. When I compile the code, the c

Re: Regular expression for deleting new lines with Ant

2009-11-24 Thread Kevin Jackson
Hi, I just had to strip blank lines from a file the other day, try this: http://ant.apache.org/manual/CoreTypes/filterchain.html#linetokenizer Kev - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional command

Re: Ant FTP giving Connection Timed Out Error

2009-05-21 Thread Kevin Jackson
Hi, > I am doing FTP using ANT script and the target as follows: > >   remotedir="/pub/incoming" port="21" > >       >   > Try setting the retriesAllowed to -1 to keep retrying Kev - To unsubscribe, e-mail: user-unsubscr...@a

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread Kevin Jackson
Hi, what does which javac tell you? And can you post the output of ant -verbose? Thanks, Kev - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Ant : Very slow on Vista

2008-12-08 Thread Kevin Jackson
hi, This could be ant version dependent, can you give us the ant version number on each platform? If you are using 1.7.0 on the vista machine it's significantly slower than 1.6.5. Check the ant dev mailing list archive for messages from Stefan Bodewig on the subject - sorry to busy right now to

Re: Upgrade from 1.6.5 to 1.7.1

2008-11-21 Thread Kevin Jackson
Hi, > 4. Which new features should be used where possible because of > significant performance boost ? One thing that was changed was the way scp/sshexec works. You can now specify a command file/resource to read which can contain all you commands to run in one 'transaction' on the remote serve

Re: smoke testing after ant?

2008-11-11 Thread Kevin Jackson
> Somehow i missed this part of your posting = > "Will the above programs actually login to a web app and > test say links on pages" > You could also check out watir or selenium for web testing I've used both and was very happy with watir (as it so simple to get working) selenium on the other

Re: Filtering on ${} instead of @@

2008-09-14 Thread Kevin Jackson
> Hi all, I searched the archives but couldn't find a solution. For > example, I have a file named filter_me.txt with its contents: > > ${foo} > > In filter_me.properties I have: > > foo=bar > You could always use with rhino/ruby/python etc to do the filtering for you if necessary, but you should

Re: A way to create empty files

2008-08-12 Thread Kevin Jackson
Hi, > and just write one statement like dontchangetimestamponexistingfile=true"/> or something. > If you put an RFE in Bugzilla the ant devs may look at it as an addition. The semantics of unix touch though are that if the file exists, update the timestamp, so there may be resistance to change

Re: A way to create empty files

2008-08-11 Thread Kevin Jackson
I think you want to look at the Available task http://ant.apache.org/manual/CoreTasks/available.html Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Getting "Exception invoking method check"

2008-08-01 Thread Kevin Jackson
Hi, > Looks like something happening in tomcat; its their stack trace. > > Personally, I've found the tomcat tasks fairly tricky to keep > alive. I prefer to use deploy-by-copy, and just the WAR file straight > into the tomcat/webapps directory > > * it avoids you having to turn on the public man

Re: Creating file containing current date in its filename

2008-07-15 Thread Kevin Jackson
Hi, You can use the Tstamp [1] task to store the date in a property, then read this in the zip task: Thanks, Kev [1] http://ant.apache.org/manual/CoreTasks/tstamp.html - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: SCP/SSHEXEC tasks: Download of jsch-0.1.39 jar

2008-06-27 Thread Kevin Jackson
Hi, > The manual says that I need any version of the jsch jar, version 0.1.28 or > above. The JCraft page shows the current version is 0.1.39. Both a zip and a > jar is available for download but, unfortunately, something is messed up > with the link for the jar. When I try to download the jar, it

Re: Running ANT on Linux

2008-04-24 Thread Kevin Jackson
Hi, > That's on Windows and it works fine and very fast, however, after moving all > my code to Linux box AND setting ANT_OPTS (export set ANT_OPTS=-Xmx1024m), > the process runs extremely slow, as if ANT_OPTS have been ignored > completely. Running "top" command, I noticed the following: Run

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

2008-03-19 Thread Kevin Jackson
Hi, > I have a ant sql statement > > > > userid="${userid}" password="${password}" > print="yes" onerror="continue" > output="${tmp.dir}/dbModification.txt"> > INSERT INTO Payment (RefNumber, > VAN, Amount, OptCode, VendorID,

[ANNOUNCEMENT] Ant 1.7.1beta2 public availability

2008-03-18 Thread Kevin Jackson
Hi all, Ant 1.7.1beta2 is now available for wider public testing! - http://people.apache.org/dist/ant/v1.7.1beta2/ Please see release notes for major changes from ant 1.7.0. Ant 1.7.1 includes some support for Java6 features: - JavaFX scripting support for - secureinput inputhandler (non-echoi

Re: converting from DOS/Visual Studio to Ant for build

2008-01-17 Thread Kevin Jackson
Hi, > Thanks DD -- we are mostly an MS shop, but we do have a mixed set of > developers. I'm actually part of a dev group doing Java and we are already > using Ant for our build process (javac, junit, javadocs, deployment, even > some 3rd party tasks for compiling Adobe Flex code and remote ssh >

Re: Redirecting compile errors

2008-01-17 Thread Kevin Jackson
Hi, > >>> and Java 1,3-compatible language features...it has to compile on older > >>> versions. What we can do is have a directory of java6+ code that isnt > >>> built on Java <6. > >> I do not think that the ability to compile ant on < java5 is necessary. > >> > > The reaon I think this is that t

Re: FW: where to get the jar file for ANT ForTask

2008-01-15 Thread Kevin Jackson
Hi, http://ant-contrib.sourceforge.net/tasks/tasks/index.html This took me less than 5 seconds to find with google. I gave you the name of the antlib and I expected that would be enough to find the rest of the information. Please try to discover these tasks without bugging the mailing lists. A

Re: FW: where to get the jar file for ANT ForTask

2008-01-15 Thread Kevin Jackson
You want to look at ant-contrib for a for task On Jan 16, 2008 12:20 PM, Nagender Kumar Mallik <[EMAIL PROTECTED]> wrote: > Hi, > PLease tell me how to get the .jar file containing For task. > > Regards & thanks, > Nagender Malik > > > >

Re: Building a J2EE 1.4 app using ant on OS X

2007-12-20 Thread Kevin Jackson
Hi > We're running OC4J 10.1.2 which obviously runs J2EE 1.4. I need to be able to > build with J2EE on a mac but can't work out how to install and then > subsequently reference J2EE 1.4 when building the app. We're using an ant > task to build the app. I get lots of errors saying that HttpServlet

Re: AW: Eclipse still using Ant 1.6.5 because of bug in Ant 1.7.0

2007-10-25 Thread Kevin Jackson
Hi, > We will move to the Ant 1.7.1 release as soon as we can get our hands on > it and it makes it through the Eclipse IP review. > Unfortunately this is not looking good for Eclipse 3.3.2 as we are running > out of time. I'm going to try to get an alpha release of 1.7.1 out this weekend (I stil

Re: Build on remote machine.

2007-10-17 Thread Kevin Jackson
> Set up one of the continuation tools to do the build on the remote box > > Free >-cruisecontrol >-hudson >-luntbuild >-gump >-continuum >-anthill or cruisecontrol.rb[1] if you're willing to install another runtime on the build machine - ThoughtWorks have switched to using

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

2007-10-08 Thread Kevin Jackson
Hi, > I am trying to automate my ANT build script, and incorporate a check in my > build.xml that checks if there were any code changes made to CVS since the > last time the build ran. If there are any code changes then ANT gets the > latest CVS code changes and then runs the build. Otherwise

Re: Need to compile VB project

2007-10-01 Thread Kevin Jackson
Hi, To use you'll need something like: > M:\cc_mv_test\v_agentapi\Develop\VB Server>"c:\Program Files\Microsoft Visual > St > udio\VB98\VB6.EXE" -make Moagent32.vbp c:\test.dll -out c:\build_log.txt Please spend some time readin

Re: Finding the command from exec task

2007-09-27 Thread Kevin Jackson
Hi > There aren't any parameters to this task to capture that information, any > idea how I might get this information? > try ant -debug, it should list the entire command line Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Any Ant Task for Diff?

2007-09-20 Thread Kevin Jackson
Hi, Look at the FilesMatch condition http://ant.apache.org/manual/CoreTasks/conditions.html Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ant taskdef works in one build.xml but not another

2007-09-10 Thread Kevin Jackson
Hi, Can you add the build.xml inline as the list removes attachments? When you say it runs at the command line, this means that you aren't launching ant through eclipse in anyway? Thanks, Kev - To unsubscribe, e-mail: [EMAIL PR

Re: How to compile C++

2007-08-30 Thread Kevin Jackson
Hi, http://ant-contrib.sourceforge.net/cc.html Does this help - it supports gcc so should be able to compile c++ Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: refid still not behaving as expected in 1.7.0

2007-08-29 Thread Kevin Jackson
Hi > One of the significant changes in 1.7.0 was, apparently: > > " * Defer reference process. Bugzilla 36955, 34458, 37688. > However, my version of ANT 1.7.0 (binary download) seems to behave in the > 'old' way. I have looked in WHATSNEW under SVN, and can see no suggestion > that there was a

Re: Ant sshexec random failures

2007-07-10 Thread Kevin Jackson
Hi, Has anyone posted a bug on BZ for this? If we have an open bug report and a patch & test for it, we can perform the fix and get it into the trunk of ant for 1.7.1 Thanks, Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: ANT -- Unique Error --Pls Help

2007-07-05 Thread Kevin Jackson
Hi, I am getting this error, When running ant , Please help ASAP. ant version -- 1.5.4 BUILD FAILED java.lang.VerifyError: (class: Could you give us a copy of your build that's causing this error? Without it it's very difficult to find a solution. Also please read : http://www.catb.org/~es

Classloader problems

2007-06-06 Thread Kevin Jackson
Hi all, For obscure reasons, I have to redefine the core email task using a taskdef. This is my build file: Now the strange thing is that thescp & sshexec tasks report that they have been over-ridden by the new definitions, and

Re: Make a 'fake' attachment

2007-06-05 Thread Kevin Jackson
Hi Matt, You've got to keep track of my sleight-of-hand on the the dev list, Kev! ;) If you're able to use the trunk version, you should be able to use: Isn't truncate an odd name for creating something from nothing?! And yes I can use the current svn trunk so that's cool. I'm not even s

Make a 'fake' attachment

2007-06-05 Thread Kevin Jackson
Hi all, I need to create a file of around 25mb during a build for use as a test attachment for the task Is there a simple way to do this or do I have to consider something with extra dependencies (script, shell etc) Kev - To

Re: Strange property problem

2007-06-04 Thread Kevin Jackson
Hi all, This problem was actually to do with the names of the tar file and what the folders were in named inside the tar file - it was not to do with the macro property expansion (which I also thought was the problem) basically the tar was called james-server-binary-next-major (james distro buil

Strange property problem

2007-05-31 Thread Kevin Jackson
Hi all, I have a weird error caused by a property being wrong 50% of the time and correct 50% of the time. here's the relevant code: build.properties james.version=server-binary-next-major james.home=/var/james james.home.direct=/var/james-${james.version}

Re: Copying the contents of all the files in one directory to a single file

2007-05-29 Thread Kevin Jackson
Hi, Please read the manual, http://ant.apache.org/manual/CoreTasks/concat.html Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to get the month number thro ant.

2007-05-21 Thread Kevin Jackson
Hi, #1 Read the manual, there's a task[1] just for this Hope this helps. Kev [1] http://ant.apache.org/manual/CoreTasks/tstamp.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: while-like structure in Ant

2007-05-10 Thread Kevin Jackson
Hi, Can u suggest me anything to implement that example. Any help is appreciated. Ant-contrib[1] has most of the imperative language features for ant (if/else etc) Kev [1] http://ant-contrib.sourceforge.net/tasks/tasks/index.html --

Re: install and use apache-ant on linux

2007-04-15 Thread Kevin Jackson
Hello, Hi, I tried to compile source distribution but I receved the following error message: When I compile from source I use bootstrap.sh followed by build.sh builb.xml:911 We cannot build the test jar unless JUnit is present, as JUnit is needed to compile the test classes. Total tim

Re: Need clarifications about the Core Ant Task (javac)

2007-04-12 Thread Kevin Jackson
Maybe the Tutorial "Hello World with Ant" [1] would also help. If you need more information in that tutorial, let me know ;-) Actually I think the original poster has a point, the manual for states that "The source and destination directory will be recursively scanned for Java source files to

Re: Problem with condition selection property; Help needed

2007-04-09 Thread Kevin Jackson
Hi, You are setting a property to a value (n | y) in your task. As soon as you set a property it keeps that value for the whole build as ant properties are immutable. It won't behave like you expect and each time reset to the value you choose, it will just be the first value that you set. I'm

Re: Information on Ant Dependant libraries and compatibility

2007-03-06 Thread Kevin Jackson
Hi, Hi, I am using ANT (1.6.5) for building and running my project. I could see that ant uses xerces parser. I am also using xerces parser in my code, for which I have got my own xerces jar. Finally I can have only one xerces.jar in class path. If you are using Java5+ I think xerces comes

Re: Help on PVCS using ANT

2007-03-02 Thread Kevin Jackson
Hi, Hi, can anyone of you post how to get projects/files from pvcs using ANT script. A sample will be helpful. http://ant.apache.org/manual/OptionalTasks/pvcstask.html The ant manual is the first place you should look before posting a question If you have a problem *after* consulting the

Re: Using ant to parse text file

2007-02-22 Thread Kevin Jackson
Hi, If you don't want to write a custom task in java, you could also try and use a scripting language of your choice http://ant.apache.org/manual/OptionalTasks/scriptdef.html Kev - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Using ant to parse text file

2007-02-21 Thread Kevin Jackson
[Sample.txt] Test1 Group=red Test2 Group=blue Test3 Group=green Example:- If I was to provide the value "Test2", I would like the Ant to search for "Test2" in the file, and return the value "blue". If I provide the value - "Test3", it should return the value "green" Please let me know if there

Re: How to compile jsp files with ANT

2007-02-21 Thread Kevin Jackson
Just to throw my hat in the ring... If you don't like HttpUnit (for whatever reason). Watir[1] (IE) and FireWatir (firefox) can be used as an alternative for checking your links, driving the automation of tests. Getting them running as part of the build process is eaasy enough with , but if you

Re: Open database connection from Ant

2007-02-18 Thread Kevin Jackson
I should have changed my question from "open a connection to a database" to "start the database server"...that seems more like it. Try sshexec if your server is a remote machine (of course it needs to be running sshd) Kev -

Re: Exclude list of files with fileset

2007-02-16 Thread Kevin Jackson
Hi, Is this the way to exclude the a list of files ( I have more names that I need to exclude)? Shall I use ';' or the regular ',' ? If you check the manual online : http://ant.apache.org/manual/CoreTypes/fileset.html You'll see that the the excludesfile is actually a text file of exclude pa