Database backed DirectoryScanner

2019-01-16 Thread Mike S.
but I can't find any mention of such an idea anywhere. So if anyone has any thoughts on the matter, I would definitely appreciate any feedback. Thank you for your time and consideration. Regards, Mike - To unsubscribe

Re: Command-Line execution of a third-party task

2012-03-23 Thread Mike Van
Stefan, Thats great! I was trying to find a way to programmatically kick off an ant-build anyway. Doing it from the command-line was just a stepping stone. This will allow me to write an "AntInvoker" class for my projects that use ant builds in the same was as I have a MavenBuildInvoker that us

Command-Line execution of a third-party task

2012-03-22 Thread Mike Van
How would you execute a third-party-task from the command-line? Specifically, I would like to execute the sonar-ant-task from the command-line on a project with an existing build.xml file. Unfortunately, editing the parent build.xml file isn't an option because of the 60+ modules and thier sub-mod

RE: Macrodef and If

2011-11-08 Thread Murray, Mike
Assuming no use of AntContrib, you can pass the name of a property to the Macrodef, which it would set. This property could then be used in an Ant condition. I'd give in and use AntContrib though, since it gives you an task. -Original Message- From: Steve Amerige [mailto:steve.amer.

RE: how to exclude a basedir while looping using foreach

2011-01-31 Thread Murray, Mike
You could try something like includes="*", but I'm not sure of the intent of your excludes. -Original Message- From: rhea [mailto:karissacab...@gmail.com] Sent: Monday, January 31, 2011 5:18 AM To: user@ant.apache.org Subject: how to exclude a basedir while looping using foreach

RE: antlib classloader issue

2010-11-03 Thread Murray, Mike
I'm far from an expert in the area of ClassLoaders, but it seems to me the only solution is to load your tasks with the same loaderRef that is used by the parent, if you can make no changes to the parent. -Original Message- From: Venkatesh Sangam [mailto:vsan...@gmail.com] Sent: Wednesday

RE: Conditional import?

2010-09-15 Thread Murray, Mike
Put it inside a target. -Original Message- From: Perrier, Nathan [mailto:nperr...@ptc.com] Sent: Wednesday, September 15, 2010 12:13 PM To: user@ant.apache.org Subject: Conditional import? Hi All, Is there a way to do a conditionally import in ant? For example: Or if n

RE: OutOfMemoryError: unable to create new native thread

2010-07-07 Thread Murray, Mike
t;", and a downstream sub-process has hanging and we could get no stack info, or debug it. We had to painstakingly identify the cause by trial and error of many scenarios. -Original Message- From: Murray, Mike [mailto:m...@ptc.com] Sent: Friday, January 30, 2009 8:13 AM To: Ant Users L

RE: 1.8.1 OutOfMemoryError: Map failed

2010-05-20 Thread Murray, Mike
l, so we do not need to impose any limit. 2) bus error in gij when requested copy size > remaining file size (this is a bug in gij that will not be triggered anymore by ant from this line) From: Murray, Mike Sent: Thursday, May 20, 2010 7:14 PM To: user@ant.apache.org Subject: 1.8.1 OutOf

1.8.1 OutOfMemoryError: Map failed

2010-05-20 Thread Murray, Mike
ndows XP. Thanks, Mike BUILD FAILED Failed to copy my.zip to my.01.zip due to Map failed at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:853) at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:523) at org.apache.tools.ant.UnknownElement.execute

RE: Zip of Jars in Path?

2010-04-29 Thread Murray, Mike
Ah, yes I'm using 1.8.0, but I forgot this is a conversion script running in an old environment, which only has 1.6.1. Thanks and sorry, Mike -Original Message- From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] Sent: Thursday, April 29, 2010 12:54 AM To:

RE: Zip of Jars in Path?

2010-04-28 Thread Murray, Mike
-Ursprüngliche Nachricht----- >Von: Murray, Mike [mailto:m...@ptc.com] >Gesendet: Dienstag, 27. April 2010 19:33 >An: Ant Users List >Betreff: Zip of Jars in Path? > >Is there any way to directly reference a zip of jars in a classpath >definition? I've tried and , but

Zip of Jars in Path?

2010-04-27 Thread Murray, Mike
Is there any way to directly reference a zip of jars in a classpath definition? I've tried and , but neither are supported by . I know I can extract the zip to a folder, and include the jars using a . I'm just wondering if there is a way to avoid the extraction. Thanks, Mike

RE: Loading Groovy TaskDef/ScriptDef in Sub Builds

2010-03-29 Thread Murray, Mike
I filed bug report 49021: TaskDef/ScriptDef in Sub Build = Memory Disaster https://issues.apache.org/bugzilla/show_bug.cgi?id=49021 From: Murray, Mike [mailto:m...@ptc.com] Sent: Saturday, March 27, 2010 12:02 PM To: Ant Users List Subject: Loading Groovy TaskDef/ScriptDef in Sub Builds

Loading Groovy TaskDef/ScriptDef in Sub Builds

2010-03-27 Thread Murray, Mike
ask/script definition. Any help would be greatly appreciated. Thanks, Mike PS - Attached is the script I used for diagnosing this. It uses AntContrib to loop. It can run as follows: ant -f GroovyMem.xml -Diterations=100 -D3rdparty_libdir= \3rdPartyJars\lib </pre><pre

Re: AW: Rename a dir

2010-03-26 Thread Mike Stewart
try: Mike S. >>> "Knuplesch, Juergen" 26/03/2010 14:34 >>> Hello, I dont think so, because this will move the files inside the dir instead of just rename the name of the dir. juergen -- Jürgen Knuplesch -Ursprüngliche N

RE: 1.8 Performance Degradation

2010-03-03 Thread Murray, Mike
Thanks for the quick response. I have no use of "exec" tasks in my test scenario. VisualVM showed that AntClassLoader.getCertificates() was sucking up all the time. If I revert AntClassLoader.defineClassFromData() to what it was in 1.7.1, it resolves the performance problem. Thanks,

1.8 Performance Degradation

2010-03-01 Thread Murray, Mike
ing 3 or 4 hours more with 1.8.0. Thanks, Mike

RE: Can I use path as property

2010-02-25 Thread Murray, Mike
You can if you convert it to a property. See http://ant.apache.org/manual/CoreTasks/pathconvert.html -Original Message- From: Dalecki, Janusz [mailto:jdale...@tycoint.com] Sent: Thursday, February 25, 2010 5:09 PM To: user@ant.apache.org Subject: Can I use path as property Hi, Can I ref

RE: Custom Task using Groovy

2009-12-08 Thread Murray, Mike
I usually use ScriptDefs, but I needed to extend an abstract task that another custom task extends, to handle a set of nested data elements that I need to pass to it. I also found, contrary to my earlier post, that I didn't need to explicitly code the property setters. Thanks,

RE: Custom Task using Groovy

2009-12-03 Thread Murray, Mike
task by my macrodef were never passed. From: Murray, Mike Sent: Tuesday, December 01, 2009 11:45 AM To: user@ant.apache.org Subject: Custom Task using Groovy I've created a groovy class that (indirectly) extends Task, and I'm calling it from my build script, but the property setters ar

Custom Task using Groovy

2009-12-01 Thread Murray, Mike
am have I just overlooked something dumb in my code? Thanks, Mike

Re: Copy arbitrary files into jar (generation)

2009-08-14 Thread Mike Baranczak
I see two problems here. 1. A path that begins with a "/" is an absolute path. I can't tell if this is what you want, but I suspect you actually want a path relative to the project directory. 2. What this fileset specifies is "all Java files in director

Re: javac can't find source files

2009-08-13 Thread Mike Baranczak
rameter. That will show you the internals of Ant's thinking and how it is building the list of files to compile, and that fileset. On Thu, Aug 13, 2009 at 1:51 PM, Mike Baranczak wrote: I changed the target like you said. Output when running on the HFS+ partition: [echo] Listing of

Re: javac can't find source files

2009-08-13 Thread Mike Baranczak
so try modifying your target to look like this: > > > > > > > > > >destdir="classes"> > > > > This will help show you that there are indeed Java files under the source > directory. > > On Thu, Aug 13

RE: javac can't find source files

2009-08-13 Thread Mike Baranczak
On Thu, 2009-08-13 at 13:18 -0400, Martin Gainty wrote: > well something wrong with srcdir spec > is this a link of some kind? No link, just a regular directory. > > if you drop to command line > cd srcDirPath > ls -al > are there any java files in that srcDir? Yes, there are. And my computer

RE: javac can't find source files

2009-08-13 Thread Mike Baranczak
Tried that - no effect. -MB On Thu, 2009-08-13 at 13:00 -0400, Martin Gainty wrote: > that error is generated by an invalid sourcepath > did you try setting sourcepath="" > ? > Martin Gainty - To unsubscribe, e-mail: user-unsu

RE: javac can't find source files

2009-08-13 Thread Mike Baranczak
I did. > In my case, /tmp was full which is apparently used by javac when performing a > build. > Therefore, I would check free disk space on all of your mount points. > > --- > Shawn Castrianni > > > -Original Message- > From: Mike Baranczak [mailto:mbar

javac can't find source files

2009-08-13 Thread Mike Baranczak
I'm having a very strange problem with Ant on my new computer. It's a Mac mini-tower with 2 Xeon processors, and I'm dual-booting it with Mac OS and Ubuntu Linux. I have a secondary hard drive (HFS+) that I use for sharing data between the two operating systems - this includes all my software proje

RE: Utility to Generate Diagram

2009-05-14 Thread Murray, Mike
http://www.ggtools.net/grand/, which is linked from http://ant.apache.org/external.html, works well. -Original Message- From: raghu guru [mailto:raghure...@gmail.com] Sent: Thursday, May 14, 2009 11:55 AM To: user@ant.apache.org Subject: Utility to Generate Diagram Hi All, Is there any

RE: Classpath Wildcards

2009-03-12 Thread Murray, Mike
too for a customer stuck on windows. In any case, this is core Java functionality, ant should support it simply for the simplifications it brings in some use cases. Cheers, Paul. Murray, Mike wrote: > > Yes, it happens in the creation of the task's path, in Path.addExisting(). > >

RE: Classpath Wildcards

2009-02-26 Thread Murray, Mike
the behavior I desire. Maybe this change would create problems for other usage scenarios, but it would seem unlikely. If so, maybe an attribute to enable support for java classpath wildcards could be added. I'll submit a bug report if I don't receive any feedback contrary to my an

RE: Classpath Wildcards

2009-02-26 Thread Murray, Mike
ot;, but not "pathelement path". Thanks, Mike -Original Message- From: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] Sent: Thursday, February 26, 2009 12:02 AM To: user@ant.apache.org Subject: AW: Classpath Wildcards >I'm trying to use Java's Cl

Classpath Wildcards

2009-02-25 Thread Murray, Mike
guments: Is there any way to do this? Thanks, Mike http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html

RE: fail when file does not exist

2009-02-13 Thread Mike K. Cepek
ask with the condition: The above will fail if any of those three files don't exist. On Fri, Feb 13, 2009 at 12:41 PM, Mike K. Cepek wrote: > Thanks for the suggestions, David. In all of our ca

RE: fail when file does not exist

2009-02-13 Thread Mike K. Cepek
at. Then, when you setup your tarfileset, you can refer to the patternset ID. Something like this: On Fri, Feb 13, 2009 at 10:56 AM, Mike K. Cepek wrote: > I'd like my task to fail if the files I specify don't exist. I > currently ma

fail when file does not exist

2009-02-13 Thread Mike K. Cepek
I'd like my task to fail if the files I specify don't exist. I currently make use of the prefix, username, group and (sometimes) mode attributes of , so I can't lose that functionality. >From the Ant Manual, it looks like the new Resource Collection support can handle this. But as a mere Ant us

Parallel Javac 1.6 Compile Errors

2009-02-02 Thread Murray, Mike
Has anyone experienced problems running javac tasks in parallel with Java 1.6? I am getting inaccurate compile errors. If I compile the modules sequentially with 1.6 it works fine. It also works fine to compile in parallel with 1.5. Thanks, Mike

RE: OutOfMemoryError: unable to create new native thread

2009-01-30 Thread Murray, Mike
Inclusion of revisions 579975 and 711860 did not resolve the eternal threads issue. I'll try the inputstring work around on all the forked tasks. Thanks, Mike -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Friday, January 30, 2009 6:25 AM To:

RE: OutOfMemoryError: unable to create new native thread

2009-01-29 Thread Murray, Mike
al byte[] buf = new byte[bufferSize]; 89 90 int length; 91 try { 92 while ((length = is.read(buf)) > 0 && !finish) { 93 os.write(buf, 0, length); 94 if (autoflush) { 95 os.flush(); 96 } 97

OutOfMemoryError: unable to create new native thread

2009-01-29 Thread Murray, Mike
Thanks, Mike Windows XP Apache Ant version 1.7.1 compiled on June 27 2008 java version "1.6.0_10" Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode)

Re: 550 Failed to change directory

2009-01-09 Thread Mike Stewart
Sounds like someone changed the permissions on the target directory on the remote machine. Mike S. >>> "Christopher Styles" 09/01/2009 15:23:09 >>> Hi, I have been running an ant target via cruise control for some time that ftp's one file from my build box

RE: ANT failing from command line

2008-12-01 Thread Mike Stewart
\Documentum\java\1.4.2_11\bin? Mike S. >>> "Ammar Khalid" <[EMAIL PROTECTED]> 01/12/2008 13:18:19 >>> I have checked the manifest file of my ant.jar and it shows: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: 10.0-b22 (Sun Microsystems Inc.) Mai

RE: ANT failing from command line

2008-12-01 Thread Mike Stewart
When you run the ant diagnostics what does it return in the system properties section? Mike S. >>> "Ammar Khalid" <[EMAIL PROTECTED]> 01/12/2008 13:18:19 >>> I have checked the manifest file of my ant.jar and it shows: Manifest-Version: 1.0 Ant-Version: Apa

RE: ANT failing from command line

2008-12-01 Thread Mike Stewart
It must be picking up another installation of ANT from somewhere, do a search for ant on the hard drive and open the ant.jar file and inside there open the manifest.mf file that will give you the version of the ant installation. Mike S. >>> "Ammar Khalid" <[EMAIL PROTEC

Re: ANT failing from command line

2008-12-01 Thread Mike Stewart
in the DOS window type SET and see what the environment variable ANT_HOME is set to, also check the PATH variable as this could be causing issues. Mike S. >>> "Ammar Khalid" <[EMAIL PROTECTED]> 01/12/2008 11:34:55 >>> I have written an ANT script and teste

I can't use the task

2008-08-12 Thread Mike Garcia
stall something else? I have Ant 1.7.0 installed, nothing else. Thanks, -Mike

Re: javadoc task

2008-06-04 Thread Mike Tardif
Hi I suddenly ran into the very same error when my fileset dir attribute was set to a root path that was just a wee bit longer than before. As a result, the arguments passed to the javadoc process get truncated, and the error ensues. I was able to work around the problem by using the usexterna

RE: Exclude files from an archive of a zipgroupfileset

2008-06-04 Thread Murray, Mike
Sounds like you are looking for this... https://issues.apache.org/bugzilla/show_bug.cgi?id=34403 34403 zipgroupfileset should support a nested pattern specification -Original Message- From: hdockter [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2008 9:14 AM To: user@ant.ap

Re: Storing all libs in SCM?

2008-06-02 Thread Mike Spross
omething in javaee.jar... public class HelloWorld { public static void main(String[] args) { System.out.println("Hello world!"); } } ~/HelloWorld/build.xml: -- Mike Spross ---

ANT and SQLPlus

2008-04-23 Thread Mike Stewart
ons including running SQLPlus in place of the cmd executable in ANT and had the same effect. Any ideas? Mike S. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - T

Re: Can zip task to create a zip archive with password?

2008-04-16 Thread Mike Stewart
witch. Mike S. >>> [EMAIL PROTECTED] 16/04/2008 09:36:47 >>> Hi, I have read everything about zip task but find no way to create password protected zip archive. Is there possible to do so with zip task? -- Best regards, Chau Chee Yang E Stream Software Sdn Bhd URL: www.sq

Exec Hangs in Multi-Threaded Parallel

2008-02-18 Thread Murray, Mike
happens when two exec tasks are called simultaneously. Using a forked java task in similar fashion, hangs the same way. The parallel calls of BuildModule work fine when the macrodef uses the ant task. Thanks, Mike

RE: Whichresource is URL-encoding spaces

2008-02-18 Thread Mike
Hi, just posting a follow-up in hopes of someone being able to help.. Thanks in advance. Mike -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 6:46 PM To: 'Ant Users List' Subject: RE: Whichresource is URL-encoding spaces

RE: Whichresource is URL-encoding spaces

2008-02-12 Thread Mike
Hi Charbel, env.properties.file.url is actually getting defined in my Ant script by the "whichresource" task. After that task completes, env.properties.file.url contains the value "C:\Documents%20and%20Settings\Mike". But I think the "available" task fails becau

Whichresource is URL-encoding spaces

2008-02-11 Thread Mike
ccessfully: """ """ The output I get from Eclipse is: """ BUILD FAILED C:\Documents and Settings\Mike\workspace\test\build.xml:16: it doesn't exist. """ I have determined that the cause is the whichresou

Re: Calling another ant script

2007-10-05 Thread Mike Stewart
Try using the ant target as below Mike S. >>> [EMAIL PROTECTED] 05/10/2007 11:46:27 >>> Hi All, I need to call one ant script from another ant script. Can somebody please tell me how to do tha

RE: doing antcalls in parallel

2007-10-01 Thread Murray, Mike
-Original Message- From: weiji [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 6:39 PM To: user@ant.apache.org Subject: doing antcalls in parallel Hi, I have a few targets

Re: Override ignored for property file

2007-08-23 Thread Mike Stewart
The override is happening because the property is already defined in an earlier script. you can either remove the original setting of the property or do something like: Mike S. >>> [EMAIL PROTECTED] 23/08/2007 12:25:29 >>> Dear Ant Users, I have inherited a project w

Re: How to convert back slashes to forward slashes

2007-08-16 Thread Mike Stewart
You can use exec like: Might have to experiment with the single quotes not sure they are required. Mike S. >>> [EMAIL PROTECTED] 09/08/2007 19:04:25 >>> perl ?? I don' t have perl installedso

Deleting contents from a zip file

2007-07-24 Thread Nau, Mike
Is there a way to remove specific contents from a zip file using the resource (or somethhing else)? I don't want to extract the entire zip file, delete the file, then re-zip everything up. Thanks, -Mike

RE: Invoking sql files in ANT.

2007-07-20 Thread Mike Stewart
. Mike S. >>> [EMAIL PROTECTED] 20/07/2007 12:50 >>> > -Original Message- > From: Chun Ji [mailto:[EMAIL PROTECTED] > I was trying to call some sql files from ANT, and it keeps > giving me some "ORA-00922, ORA-00900.." errors. I don't think Char

Sequential/WaitFor Missing taskFinished Event on Failure

2007-07-17 Thread Murray, Mike
It appears that the and tasks do not fire the task finished event when there is a failure in the non-waiting sequential block within the same parallel block. I plan to file a bug report for this, but I thought I'd post to the list in case anyone has insight into this situation. Thanks,

RE: call other build files

2007-06-08 Thread Mike Stewart
>>> [EMAIL PROTECTED] 08/06/2007 12:12 >>> Hi, -Original Message- From: arijit [mailto:[EMAIL PROTECTED] Sent: Friday, June 08, 2007 1:05 PM To: user@ant.apache.org Subject: call other build files /* 1. Is it possible to call Build2 file from Build1 which is executed using ANT

ant.bat -noclasspath in ANT_ARGS should clearclasspath

2007-06-04 Thread Murray, Mike
ns -noclasspath? Thanks, Mike rem Slurp the command line arguments. This loop allows for an unlimited number rem of arguments (up to the command line limit, anyway). set ANT_CMD_LINE_ARGS=%1 if ""%1""=="""" goto doneStart shift :setupArgs if "

Re: Ant 1.7 build, high CPU use, possible solution

2007-04-24 Thread Mike McNally
> It would be great to have an example build.xml that > shows the problem. bug 42219 -- [ I love pre-moistened towelettes ] Mike McNally -- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: Ant 1.7 build, high CPU use, possible solution

2007-04-24 Thread Mike McNally
-- [ I love pre-moistened towelettes ] Mike McNally -- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Ant 1.7 build, high CPU use, possible solution

2007-04-23 Thread Mike McNally
solved problem, my apologies; I can't find any mention of it on the web.) -- [ I love pre-moistened towelettes ] Mike McNally -- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: forking ant

2007-04-05 Thread Murray, Mike
Try: call ant clean build -Original Message- From: Res Pons [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 2:50 PM To: user@ant.apache.org Subject: forking ant I'm writing a basic window's .bat file to cd into my working folder and run ant clean build. And when ant b

RE: Conditional dependencies

2007-03-19 Thread Murray, Mike
--Original Message- From: bill/wilandra [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 8:47 PM To: 'Ant Users List' Subject: RE: Conditional dependencies You could make all the targets independent and specify a blank delimited list of targets on the command line. Bill -Orig

RE: Conditional dependencies

2007-03-19 Thread Murray, Mike
I sympathize with your frustration. I don't know of a better way. It would be nice if there was a -nodeps option. Here's what I do, and I have many targets: -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 5:21 PM To: Ant Users List

RE: Concatenating a string to a property

2007-03-16 Thread Mike Stewart
Thats the baby, works a treat. Cheers, Mike S. >>> [EMAIL PROTECTED] 16/03/2007 16:06:40 >>> Mike, I use antcontrib tasks to do this. The tasks , and are very useful to do this. http://ant-contrib.sourceforge.net/ Put it in it own namespace. I

RE: Concatenating a string to a property

2007-03-16 Thread Mike Stewart
server. Mike S. >>> [EMAIL PROTECTED] 16/03/2007 16:07:26 >>> It looks like you already have the value set. Once a property is set, you can't unset or reset it. (Unless you use a 3'rd party task, like ant-contrib's var task) Where did the 'b4uso

Concatenating a string to a property

2007-03-16 Thread Mike Stewart
substitution. When run via Ant the output is the port number is remote.jboss.jndi.port.b4usony 17031 Any ideas on how to get the value? Mike S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: My New Year Wish

2007-01-25 Thread Murray, Mike
These will get you one level of nesting... -Original Message- From: Jack J. Woehr [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 5:05 PM To: Ant Users List Subject: Re: My

RE: My New Year Wish

2007-01-25 Thread Murray, Mike
I'd be happy if they'd pleeease just add if/unless attributes to all tasks. -Original Message- From: Res Pons [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 4:09 PM To: user@ant.apache.org Subject: My New Year Wish I wish Ant was a full scripting language as well, so I could

Re: java errors when running build file

2007-01-22 Thread Mike . Horn
's lack uf support for the full signal set. I will report the problem to my vendor though. Mike Steve Loughran <[EMAIL PROTECTED]> 22/01/2007 11:50 Please respond to "Ant Users List" To Ant Users List cc Subject Re: java errors when running build file Dalibor

Re: java errors when running build file

2007-01-19 Thread Mike . Horn
> > > > > > > > > > > When running the build file (ant -f Unix_Build.xml) I receive a number of > java error messa

java errors when running build file

2007-01-19 Thread Mike . Horn
t too technical! TIA Mike $ ant -f Unix_Build.xml Buildfile: Unix_Build.xml [property] java.lang.reflect.InvocationTargetException: java.lang.IllegalArgume ntException: Unknown signal: HUP [property] at sun.misc.Signal.(Unknown Source) [property] at java.lang.Terminator.setup

RE: ANT_ARGS=-noclasspath -logger -cp

2006-12-15 Thread Murray, Mike
Resolved: I just stumbled across the "other way" I was seeking, which is to use -lib, instead of -cp. ANT_ARGS=-noclasspath -logger com.ptc.tools.build.PTCLogger -lib L:/tools_vs/lib/BuildSupport-ant.jar -Original Message- From: Murray, Mike [mailto:[EMAIL PROTECTED] Se

ANT_ARGS=-noclasspath -logger -cp

2006-12-04 Thread Murray, Mike
ould be to implement the enhancement requested by bug 36958 <http://issues.apache.org/bugzilla/show_bug.cgi?id=36958> .) Thanks, Mike --- Ant Environment Variables --- ANT_ARGS=-noclasspath -logger com.ptc.tools.build.PTCLogger -cp L:/tools_vs/lib/BuildSupport-ant.jar ANT_HOME=D:\Pr

Text Scripting

2006-08-11 Thread Mike Stewart
Hi, I have some text files that I have to parse and modify, can anyone advise the best way to do this - ANT commands, ANT Tasks, call to PERL or some other scripting language? The scripts will be fairly complex including pattern searching, text replacement, text sorting etc. Regards, Mike S

Re: ant javac uses rt.jar even though it isn't in classpath

2006-06-16 Thread Mike Grandmaison
to this particular API, to pick up this particular API from a different jar than rt.jar 2) Use a different bootclasspath, to use a different "fixed up" rt.jar Javac otherwise uses the rt.jar that comes with the JDK. --DD On 6/16/06, Mike Grandmaison wrote: > > Hi, > > I am

ant javac uses rt.jar even though it isn't in classpath

2006-06-16 Thread Mike Grandmaison
Hi, I am trying to compile with ant 1.6.5 using jdk150. This jdk ships with rt.jar that contains a version of org.w3c.com that I don't want to use. I've run ant with verbose mode but it does not show that it is using rt.jar in the javac command but when I remove the offending class from rt.

RE: sql task

2006-03-17 Thread Mike Miller
Shouldn't the last entry you tried be jdbc:oracle:thin:@localhost:1521:harshal and not jdbc:oracle:thin:@localhosthost:1521:harshal with 2 host -Original Message- From: Harshal Chavda [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 11:23 AM To: user@ant.apache.org Subject: sql ta

RE: OutOfMemoryError on large complex build

2006-03-14 Thread Mike Miller
Thanks, I think I've come that conclusion too. I've been searching the XDoclet documentation and it doesn't appear that they support a fork parameter. I guess I will try posting this same issue on their mailing list and ask if someone has a way to fork the ejbdoclet task. -Original Messa

OutOfMemoryError on large complex build

2006-03-14 Thread Mike Miller
: java.lang.OutOfMemoryError --- Nested Exception --- java.lang.OutOfMemoryError Mike Miller Phone: (214) 277-7759 HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED] 7501 Esters Blvd Irving, Tx 75063 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.3

RE: bug in "unless"?

2005-07-29 Thread Murray, Mike
-Original Message- From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 4:05 PM To: Ant Users List Subject: bug in "unless"? Hi, In ant 1.6.2, the following seems to indicate a bug with "unless": Executing B

Re: ftp question 1.5.4

2005-03-18 Thread Mike Starkie
Original Message- > From: Vadim Kazakov [mailto:[EMAIL PROTECTED] > Sent: March 16, 2005 2:18 PM > To: Ant Users List; Mike Starkie > Subject: RE: ftp question 1.5.4 > > You can use the > Attributes and then somehow parse the list.txt file in order to get each > file in tha

Re: ftp question 1.5.4

2005-03-16 Thread Mike Starkie
, 16 Mar 2005 13:20:17 -0800 (PST), Matt Benson <[EMAIL PROTECTED]> wrote: > You should try using a nested fileset with the ftp > task, and setting the includesfile attribute of your > fileset to the file containing the list of names. > > -Matt > > --- Mike Starkie <[EMAI

ftp question 1.5.4

2005-03-16 Thread Mike Starkie
I'm forced to use ant 1.5.4 and I would like ant to read a list of filenames stored in a file and do an ftp 'get' on each one of them. Is this possible using the ftp task? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

RE: how to call "ant -projecthelp" from ant target

2005-02-09 Thread Murray, Mike
-Original Message- From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:04 PM To: user@ant.apache.org Subject: how to call "ant -projecthelp" from ant target Hi, I'd like to define a (default) ant

RE: fileset fails when base dir is missing

2004-12-06 Thread Murray, Mike
ot;unless" attribute like the "target" tag does? "Murray, Mike" <[EMAIL PROTECTED]> wrote on 12/06/2004 01:09:36 PM: > It sure would be nice, but since it isn't you're left doing it the > long, and complicated, way. That is, creating additional ta

RE: fileset fails when base dir is missing

2004-12-06 Thread Murray, Mike
It sure would be nice, but since it isn't you're left doing it the long, and complicated, way. That is, creating additional targets with dependencies and conditions to get the desired conditional behavior. The property can be set as follows. -Original Messa

RE: Detecting -D on command line

2004-11-19 Thread Murray, Mike
Here is another way... ... -Original Message- From: Robert Mark Bram [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 7:32 PM To: Ant Subject: Detecting -D on command line Hi All! In a script where you need to respond differently to whether or not a

RE: pathconvert with regexpmapper

2004-10-15 Thread Murray, Mike
: Friday, October 15, 2004 3:44 PM To: Ant Users List Subject: Re: pathconvert with regexpmapper Mike: try HTH, Matt --- "Murray, Mike" <[EMAIL PROTECTED]> wrote: > Does anyone have an example of acceptable syntax for using a regexp mapper in a > pathconvert? >

pathconvert with regexpmapper

2004-10-15 Thread Murray, Mike
Does anyone have an example of acceptable syntax for using a regexp mapper in a pathconvert? I've tried many ways, but none work. The documentation says more complex nested mappers are supported. http://ant.apache.org/manual/CoreTasks/pathconvert.html Thanks, Mike

RE: ANT 1.6, SCP and session timeout

2004-10-06 Thread Nibeck Mike
: Laconia Data Systems [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 10:02 AM To: Ant Users List Subject: Re: ANT 1.6, SCP and session timeout Mike 192.168.*.* is a DHCP dynamically assigned IP address Please confirm the IP Address via tracert hostname of your Sun Box Martin

ANT 1.6, SCP and session timeout

2004-10-06 Thread Nibeck Mike
I'm trying to connect from a Windows machine to a Solaris box using SCP. I get the following output from the any task: [scp] Connecting to 192.168.*.* FAILED \test\build.xml:16: No response from server SCP is running on the server, as I can use other SCP clients to copy files. The release notes

RE: javac ant task

2004-09-16 Thread Murray, Mike
It is probably because ext is part of your package structure. http://ant.apache.org/faq.html#always-recompiles Drop "/ext" from the src, and add it as an includes filter. includes="ext/**" -Original Message- From: Satish Jeejula [mailto:[EMAIL PROTECTED] Sent: Thursday,

  1   2   >