ANT and HTML Tidy

2012-08-31 Thread Kevin Kim
Windows cmd to run the command line "tidy -asxml c100.html." I also need to run this command line from a specific directory (my desktop), which I tried doing with arg path? Thanks, Kevin

Including JARs and Class files

2011-07-15 Thread Arpe, Kevin C
Hi, I am trying to launch Ant v1.8.1 on Windows using Java 1.6.0_24. I have some JARs and class files that I need to reference from my build.xml. I tried a few combinations of CLASSPATH (please don't throw stones!) and -lib arguments. None of can do what I want 100%. In my dreams: ant.bat -li

RE: Dual Java Compilers/Replacement for antcontrib

2011-02-15 Thread Toomey, Kevin H (CTO Org)
The 1.4 JRE was not pleased. It's always something Thanks, Kevin -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Tuesday, February 15, 2011 5:00 PM To: Ant Users List Subject: RE: Dual Java Compilers/Replacement for antcontrib > Here&#x

RE: Dual Java Compilers/Replacement for antcontrib

2011-02-15 Thread Toomey, Kevin H (CTO Org)
evelopment streams) while they're able to build components and applications executing in JVMs from 1.4 --> 1.6 Thanks, Kevin -Original Message- From: David Weintraub [mailto:qazw...@gmail.com] Sent: Tuesday, February 15, 2011 3:32 PM To: Ant Users List Subject: Re: Dual Java Com

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

javac debug option not working

2009-07-29 Thread Kevin Javia
that. The IDE does not allow me to put a break point at source with a message like No executable code found. I am not able to figure out what is wrong with the script. Kevin. -- View this message in context: http://www.nabble.com/javac-debug-option-not-working-tp24732233p24732233.html Sent from

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: javac source and target default values

2008-10-22 Thread Toomey, Kevin H (ATS, IT)
f the classes you create (javap -verbose this.package.myClass) and look at the "major version". 49=1.5, 60=1.6 Thanks, Kevin -Original Message- From: nlif [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 11:44 AM To: user@ant.apache.org Subject: Re: javac source and

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: unable to execute JAR file

2008-06-18 Thread Toomey, Kevin H (ATS, IT)
Hi Irfan, You need a manifest file with a main class attribute. A quick googling of 'jar main-class' brings back a wealth of links to check out. Here's one: http://java.sun.com/developer/Books/javaprogramming/JAR/basics/run.html Thanks, Kevin ___

RE: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Toomey, Kevin H (ATS, IT)
rticles and forum entries relating to this. You are not the first who expected to be able to do what you are trying to do. Thanks, Kevin -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 12:04 PM To: Ant Users List Subject: Re: Class-Path not recognised

RE: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Toomey, Kevin H (ATS, IT)
sspath App1.jar -jar Application.jar Thanks, Kevin -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 11:29 AM To: Ant Users List Subject: Class-Path not recognised from MANIFEST.MF Hi All, My apologies if I am missing something obivious, I have the

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: Suppress javac warning

2008-04-07 Thread Toomey, Kevin H (ATS, IT)
What version of Ant/Java are you using? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 11:28 AM To: user@ant.apache.org Subject: RE: Suppress javac warning Hi Kevin, Thanks for the reply and you got my question right. However

RE: Suppress javac warning

2008-04-07 Thread Toomey, Kevin H (ATS, IT)
Hi Sumit, Maybe I'm misunderstanding your question, but if you take a look in the manual you'll see the javac task has attributes (nowarn, deprecation) that you can set to true/false to control whether you see those messages. Thanks, Kevin Fr

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

Looking for help with context classloader

2008-01-23 Thread Toomey, Kevin H (ATS, IT)
hing like: ProjectHelper2 ph2 = new ProjectHelper2(); ph2.setContextClassLoader(this.getClass().getClassLoader()); ph2.parse(p, "common.xml"); What can I do, or am I just trying to do something that can't be done (in an efficient manner), and I need to rethink my approach. Thanks,

RE: Halt Ant script question

2008-01-21 Thread Toomey, Kevin H (ATS, IT)
Can you give an example of how the first script is calling the second? Are you using , or , or , or something else? -Original Message- From: jpyork [mailto:[EMAIL PROTECTED] Sent: Monday, January 21, 2008 11:58 AM To: user@ant.apache.org Subject: Halt Ant script question I am running 2

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: Redirecting compile errors

2008-01-16 Thread Toomey, Kevin H (ATS, IT)
: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 10:51 AM To: Ant Users List Subject: Re: Redirecting compile errors Toomey, Kevin H (ATS, IT) wrote: > It looks like support for JSR199 (java compiler API) would give me what I'm > looking for, but I couldn

RE: Redirecting compile errors

2008-01-16 Thread Toomey, Kevin H (ATS, IT)
for, but I couldn't tell for sure if/when that support would be available with Ant. For now, I'm working around this by changing the common.xml to create a new process and pipe it's output to the correct file. It's not exactly what I want, but it'll be fine for now. 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: Mail Task

2008-01-11 Thread Toomey, Kevin H (ATS, IT)
plain text, adding encoding="plain" to my task cleared up the issue. Hope that helps. Thanks, Kevin -Original Message- From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 8:03 AM To: user@ant.apache.org Subject: Mail Task When I run the mail t

Redirecting compile errors

2008-01-10 Thread Toomey, Kevin H (ATS, IT)
g the modern compiler in Ant 1.7) defaults to System.err, but is there any way I can force it to my output file? Thanks, Kevin * This communication, including attachments, is for the exclusive use of addressee and may

building ant from source and junit build error

2008-01-03 Thread Kevin Tomasek
understood. i have succesfully used netbeans to write/build/compile java programs. thanks kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: target unable to find buildfile

2007-12-28 Thread Toomey, Kevin H (ATS, IT)
widgets\MyApp\IterativeBuild\jar:file:\C:\SDF_Factory\lib\sdfant.jar!\config\int\SDFAntCommon.xml Are the ":"s and "!" valid for the path you are trying to use? "Toomey, Kevin H (ATS, IT)" <[EMAIL PROTECTED]> wrote: I use Ant as the workhorse of a web applicati

target unable to find buildfile

2007-12-28 Thread Toomey, Kevin H (ATS, IT)
nt.file} at startup and then writing it to a location on the file system? That's not a huge deal to do, but I'd rather keep everything in the *.war. Thanks, Kevin * This communication, including attachments, is for th

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

xmlvalidate errors

2007-02-21 Thread Kevin Cline
I would like to run xmlvalidate over a number of fails, and have it validate all files even if some validations fail, but terminate the build when some validations do fail. Setting failonerror=false solves half the problem. Any clues about solving the other half?

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

Re: slow?

2006-12-19 Thread Kevin Cline
I have noticed the same thing. Which version of Junit are you using? On 12/19/06, Matt Benson <[EMAIL PROTECTED]> wrote: Has anyone ever noticed Ant running junit tests exceedingly slowly, perhaps only in the case of testsuites or nested testsuites? I am looking at a testsuite that has about

Re: Can't use my gmail for this list?

2006-11-15 Thread Kevin Cline
Put a subject on the message. On 11/15/06, Tom Corcoran <[EMAIL PROTECTED]> wrote: I raised this before there was no comment. I need to change my subscription to my gmail account but I get the bounce below. Please is their any way I can change my membership to use gmail? Thanks, Tom. Deli

Junit task performance

2006-10-20 Thread Kevin Cline
Running unit tests via the Ant junit task seems to be extraordinarily slow. For example, I have one test that runs in 24 seconds if I start it via "java junit.textui.TestRunner" but it takes over three minutes to run the same test via the ant junit task. Truss shows that the junit execution examin

Re: path performance

2006-10-18 Thread Kevin Cline
On 10/18/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Timing indicates that ant is spending 30 seconds per test to walk the lib > tree building the classpath. Does anyone have a solution to this problem? Frankly, that sounds a bit fishy ;-) Unless your hierarchy is exceedingly large

Re: path performance

2006-10-18 Thread Kevin Cline
On 10/18/06, David Corley (AT/LMI) <[EMAIL PROTECTED]> wrote: Hey Kevin, If you put all of your tests into a Junit testsuite, and use the paremeter of the task, junit will load the classpath once and use it for all tests. Sometimes this isn't possible because of depend

path performance

2006-10-17 Thread Kevin Cline
I am working on a complex project with a LOT of JARs on the classpath. Currently we are using this path element: This path is used in this junit element:

Ant, C++ and Unit tests

2006-08-17 Thread Kirkpatrick, Kevin
What is the mechanism for facilitating unit tests? I know there is Junit and Nunit. What do you guys use with ant and C++? -Original Message- From: Kirkpatrick, Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 3:18 PM To: Ant Users List Subject: RE: Ant and C++ compiler

RE: Ant and C++ compiler

2006-08-17 Thread Kirkpatrick, Kevin
Thanks. -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 3:16 PM To: Ant Users List Subject: Re: Ant and C++ compiler I am using Ant-Contrib extension for C++ support. It works fine. - Alexey. Kirkpatrick, Kevin wrote: > &

Ant and C++ compiler

2006-08-17 Thread Kirkpatrick, Kevin
Hi all, This might seem like a silly question. All the info I gathered was mostly java based and I didn't see any tasks related to C++. Can another neat tool facilitate compilations in C++? Or is this a job for NANT? Does anyone have any insight? Thank you. Kevin Confidenti

question about overall build success when subant fails.

2006-03-09 Thread Kevin Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Re-Post. Is this the wrong list to post this to? if so, what would be a better list? Thanks. Kevin Kevin Martin wrote: > Saw a thread from 2004 where the user had multiple subant tasks that weren't > dependent on each other so

subant failonerror build successful

2006-03-02 Thread Kevin Martin
question. If a subant task fails ANT should report the overall build as FAILED IMHO. I've been unsuccessful in finding a resolution to this in the documentation but maybe I'm just misunderstanding something. Thanks. Kevin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Li

Using Find Exec In ANT

2005-09-15 Thread Urciolo, Kevin
> Any way to do this with a chgrp and fileset? > > find . -gid 205 -exec chgrp producers {} \; > > If not, how about an exec? I tried an exec with a single arg line, > and get a "missing argument to `-exec'" > > thanks for your help

Concat With Newline

2005-09-15 Thread Urciolo, Kevin
I am using concat to write out configuration files. The text is embedded within the concat. What is the best way to write out a new line at the end? thanks

how to use "ant:current" attribute in ant1.6?

2005-09-11 Thread kevin
how to use "ant:current" attribute in ant1.6? I'm a chinese programer.When i used ant with "antlib" speciality,I don't know what is the difference between "xmlns:antlib=..." and "ant:current" in the antlib configure of the ant manual version 1.6.5... I'm puzzled with these two attributes..I thin

problem with zipfileset and fileset storing directories with xml files in them

2005-03-13 Thread Kevin Duffey
Hey all, I am hoping I am just losing my mind here. When I use the WAR, JAR or ZIP task to create an archive, every time I try to store any directories that have .xml files in them, the directories are lowercased. Always. I do something like this: Every time I open the file.war (or if I n

ClearCase tasks dont compile in latest CVS snapshot

2005-02-11 Thread Kevin Duffey
Hi all, First time poster, long time reader ;) In my present company we have a need to integrate a special clearcase promotion system within our continual integration (using CruiseControl). The present clearcase ant tasks dont support rebase or change baseline. I added those. Basically copied on

Which For ANT

2004-12-30 Thread Urciolo, Kevin \(Mission Systems\)
Is there a "which" type feature for ANT that would allow me to discover which task ant is executing? Let's just say that I have "a few" tasks, and some overriding going on, and it is sometimes hard to track down where a task exists. Is there something that can do this for me? Thanks.

Re: Environment variables and mac osx

2004-12-15 Thread Kevin Duffey
[echo] > [echo] JAVA_HOME = /Library/Java/Home > [echo] java.vendor = Apple Computer, Inc. > [echo] os.name = Mac OS X > [echo] os.version = 10.3.6 > [echo] > > BUILD SUCCESSFUL > Total time: 1 second > > > >

Environment variables and mac osx

2004-12-15 Thread Kevin Duffey
Hi all, Having issues with my ant build script finding environment variables on the mac osx. We are running 10.3, it works fine on Windows, but on Mac OSX, under bash or t-shell, they show up when we shell and echo them out, but they are not getting picked up by ant at all. Is there a problem wit

1.6.2 WAR/JAR Empty Directories

2004-10-27 Thread Urciolo, Kevin \(Mission Systems\)
I have found an issue with the new ANT 1.6.2 version. Using the WAR or JAR task, empty directories are not created. I verified on both Windows and UNIX that 1.6.1 doesn't have this problem but 1.6.2 does. I checked the ANT bug database and found that someone submitted a bug for the same reason b

No deprecation warnings with javac

2004-02-10 Thread Kevin Steppe
description="build the source "> Thanks, Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: scp task gives ArrayIndexOutOfBoundsException

2004-01-13 Thread Kevin Stembridge
? -Rob Anderson -Original Message- From: Kevin Stembridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 12:41 AM To: [EMAIL PROTECTED] Subject: scp task gives ArrayIndexOutOfBoundsException Hi, I get the following stack trace when using the scp task to send a single file to a

RE: Use of XMLPull for parsing ant config files

2003-07-01 Thread Duffey, Kevin
Users List' Subject: RE: Use of XMLPull for parsing ant config files Isn't XMLPull just an API? Or did have a specific implementation in mind? Sten > -Original Message- > From: Duffey, Kevin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 5:19 PM > To:

RE: How to use VSS from script running on linux..?

2003-06-23 Thread Duffey, Kevin
to use VSS from script running on linux..? Could you telnet to a Windoze box and run VSS from there? Perhaps with a Samba share back to the Linux box? Never tried it, but maybe Rant (Remote Ant) is worth a look? Keith -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED] Sent

RE: How to use VSS from script running on linux..?

2003-06-23 Thread Duffey, Kevin
nything!) else than SourceSafe ;-) Sten Rosendahl -Original Message- From: Duffey, Kevin [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 6:25 PM To: Ant Users List Subject: How to use VSS from script running on linux..? Hi all, I am trying to use our windows based script that conn

How to use VSS from script running on linux..?

2003-06-23 Thread Duffey, Kevin
Hi all, I am trying to use our windows based script that connects to our VSS server via the \\server\share name to run it. When I run this script on linux, it give ma a java.io.IOException. I guess it makes sense, but is there any "abstracted" source control API that allows you to get/put/compa

Deleting all nested dirs/files except one?

2003-06-05 Thread Duffey, Kevin
Hi, I am trying to get my script to do a clean build. The dir structure of our project is like: /bin /dist /src /lib /doc /scripts I put our build scripts in the /scripts folder. So I want to delete ALL folders except the /scripts folder. In fact, I want to delete the entire base dir of the p

  1   2   >