DO NOT REPLY [Bug 33162] - OutOfMemoryException when compiling a large project

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: [PATCH] fix typo in script documentation

2005-03-01 Thread Matt Benson
Patch committed; thanks. -Matt --- "Shatzer, Larry" <[EMAIL PROTECTED]> wrote: > It is supposed to be importClass(Packages.org...) > not > importClass(Package.org...). > > Also fix spot to use ' and not "´" > > -- Larry > > > Index: docs/manual/OptionalTasks/script.html >

cvs commit: ant/docs/manual/OptionalTasks script.html

2005-03-01 Thread mbenson
mbenson 2005/03/01 15:22:01 Modified:docs/manual/OptionalTasks script.html Log: Fix typos. Submitted by: Larry Shatzer Revision ChangesPath 1.22 +4 -4 ant/docs/manual/OptionalTasks/script.html Index: script.html =

DO NOT REPLY [Bug 33162] - OutOfMemoryException when compiling a large project

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant WHATSNEW

2005-03-01 Thread mbenson
mbenson 2005/03/01 15:15:10 Modified:src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH Get.java src/testcases/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH GetTest.java src/etc/testcases/taskdefs Tag

DO NOT REPLY [Bug 33162] - OutOfMemoryException when compiling a large project

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant WHATSNEW

2005-03-01 Thread mbenson
mbenson 2005/03/01 15:09:58 Modified:src/main/org/apache/tools/ant/taskdefs Get.java src/testcases/org/apache/tools/ant/taskdefs GetTest.java src/etc/testcases/taskdefs get.xml .WHATSNEW Log: Get with usetimestamp did not work when

[PATCH] fix typo in script documentation

2005-03-01 Thread Shatzer, Larry
It is supposed to be importClass(Packages.org...) not importClass(Package.org...). Also fix spot to use ' and not "´" -- Larry Index: docs/manual/OptionalTasks/script.html === RCS file: /home/cvspublic/ant/docs/manual/OptionalTasks/

cvs commit: ant/src/main/org/apache/tools/ant/types Path.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 15:04:39 Modified:src/main/org/apache/tools/ant/types Path.java Log: Simplify some file resolution code to rely on FileUtils. Revision ChangesPath 1.69 +8 -14 ant/src/main/org/apache/tools/ant/types/Path.java Index: Path.java ===

DO NOT REPLY [Bug 33162] - OutOfMemoryException when compiling a large project

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant/src/testcases/org/apache/tools/ant/util FileUtilsTest.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 14:59:44 Modified:.WHATSNEW src/main/org/apache/tools/ant/util FileUtils.java src/testcases/org/apache/tools/ant ProjectTest.java src/testcases/org/apache/tools/ant/taskdefs DirnameTest.java src/testca

DO NOT REPLY [Bug 33162] - OutOfMemoryException when compiling a large project

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant/docs/manual/CoreTypes selectors.html

2005-03-01 Thread mbenson
mbenson 2005/03/01 14:05:03 Modified:docs/manual/CoreTypes selectors.html Log: Fix typo Revision ChangesPath 1.32 +1 -1 ant/docs/manual/CoreTypes/selectors.html Index: selectors.html === RC

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs ExecuteJavaTest.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 13:26:34 Modified:src/testcases/org/apache/tools/ant/taskdefs ExecuteJavaTest.java Log: Disable test that can't run under Windows Java 1.2 . Should check 1.3 as well. Revision ChangesPath 1.11 +7 -0 ant/src/testcases/o

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs ExecuteJava.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 13:24:59 Modified:src/main/org/apache/tools/ant/taskdefs ExecuteJava.java Log: Looks like the right thing to do: Revision ChangesPath 1.48 +2 -1 ant/src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java Index: ExecuteJava.java ==

Re: a few questions (sorry quite long)

2005-03-01 Thread Stefan Bodewig
On Tue, 01 Mar 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: > James Fuller wrote: >> Steve Loughran wrote: >> >>> James Fuller wrote: - couldnt find any logging/listener tests under testcases ? >>> >> sacre! > > I know. naughty. A lot of ant core lacks explicit tests, True. > you have t

cvs commit: ant/src/testcases/org/apache/tools/ant CaseTest.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 13:10:17 Modified:src/testcases/org/apache/tools/ant CaseTest.java Log: New diagnostics broke CaseTest. Revision ChangesPath 1.7 +1 -1 ant/src/testcases/org/apache/tools/ant/CaseTest.java Index: CaseTest.java ==

Re: a few questions (sorry quite long)

2005-03-01 Thread Stefan Bodewig
On Mon, 28 Feb 2005, James Fuller <[EMAIL PROTECTED]> wrote: > - does scriptdef have namespace capability I read in a comment on my blog that a user found the only way to place a scriptdef'ed task into a namspace other than default was putting it into an antlib. This feels wrong. > - note: ther

Re: extra diagnosis

2005-03-01 Thread Stefan Bodewig
On Tue, 01 Mar 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: > 1. have tasks provide their own diags. Sounds hard to do. > 2. We bail out if a class has an empty ctor and it throws an > exception when we try and instantiate it (including > IllegalAccessException. ). I may be wrong, but I thin

extra diagnosis

2005-03-01 Thread Steve Loughran
oh, the coding of the diagnosis made me think of some other things 1. have tasks provide their own diags. Imagine a static method with each class that provides some text (like URL for jars). Would this be accessible even if we couldnt instantiate an instance with a NoClassDefFoundException? I th

Re: a few questions (sorry quite long)

2005-03-01 Thread Steve Loughran
James Fuller wrote: Steve Loughran wrote: James Fuller wrote: btw I have a few general developer questions... before I start caning bugzilla I think any responses would be well appreciated; really appreciate the time you have taken to answer.even where you have confirmed simply lets me know

Re: cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java

2005-03-01 Thread Steve Loughran
[EMAIL PROTECTED] wrote: mbenson 2005/03/01 08:23:41 Modified:src/main/org/apache/tools/ant ComponentHelper.java Log: Some space/punctuation cleanup. Like it, Steve. I got fed up with seeing the message myself. Plus I even got a support phone call on the problem last week, which rea

Re: cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java

2005-03-01 Thread Steve Loughran
Matt Benson wrote: //hey, there is nothing wrong with us -out.println("The component could be instantiated"); +out.println("The component could not be instantiated."); changes the meaning.. Sorry, didn't occur to me that a success messa

cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 09:17:39 Modified:src/main/org/apache/tools/ant ComponentHelper.java Log: Clean up spacing, remove erroneously inserted "not". Revision ChangesPath 1.51 +17 -16ant/src/main/org/apache/tools/ant/ComponentHelper.java Index: ComponentHelper.j

Re: cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java

2005-03-01 Thread Matt Benson
--- Peter Reilly <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > >mbenson 2005/03/01 08:23:41 > > > > Modified:src/main/org/apache/tools/ant > ComponentHelper.java > > Log: > > Some space/punctuation cleanup. Like it, Steve. > > > > > > > snip > > >

cvs commit: ant/docs ant_task_guidelines.html

2005-03-01 Thread mbenson
mbenson 2005/03/01 09:08:32 Modified:docs ant_task_guidelines.html Log: Spelling, punctuation, removed another Ant 2.0 reference, warn against Project.createTask() for helper tasks, mention Task.bindToOwner(). Revision ChangesPath 1.15 +100 -112 ant/docs/ant_

Re: cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java

2005-03-01 Thread Peter Reilly
[EMAIL PROTECTED] wrote: mbenson 2005/03/01 08:23:41 Modified:src/main/org/apache/tools/ant ComponentHelper.java Log: Some space/punctuation cleanup. Like it, Steve. snip //hey, there is nothing wrong with us -out.println("The component cou

Re: Launching Ant again

2005-03-01 Thread Phil Weighill-Smith
You could make your build generate a "build-targets.xml" from the project.xml then have a standard build.xml that: 1. invokes a task that will re-generate the build-targets.xml from project.xml if it is out-of-date 2. imports build-targets.xml This is exactly what our build system does. Phil :n)

cvs commit: ant/src/main/org/apache/tools/ant ComponentHelper.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 08:23:41 Modified:src/main/org/apache/tools/ant ComponentHelper.java Log: Some space/punctuation cleanup. Like it, Steve. Revision ChangesPath 1.50 +19 -24ant/src/main/org/apache/tools/ant/ComponentHelper.java Index: ComponentHelper.java

cvs commit: ant/src/main/org/apache/tools/ant MagicNames.java

2005-03-01 Thread mbenson
mbenson 2005/03/01 07:55:30 Modified:src/main/org/apache/tools/ant MagicNames.java Log: Copyright police Revision ChangesPath 1.8 +1 -1 ant/src/main/org/apache/tools/ant/MagicNames.java Index: MagicNames.java =

Re: [PATCH] SubAnt verbose attribute

2005-03-01 Thread craig ryan
ignore - just noticed duplicate submission bug # 33787 craig. anyone interested to respond to this guys? The company is using a special-build ant.jar from me at present with this update, I want to see if I can get this rolled into the standard distribution. thanks, craig ryan. craig ryan wrote:

Launching Ant again

2005-03-01 Thread Yves Martin
Hello, I'm facing a difficult issue in my build system development. The b.s. generates a 'build.xml' from a 'project.xml'. When invoking a target 'compile' (for instance) in the current 'build.xml', the 'build.xml' may be out-of-date compared to the 'project.xml'. Here are the possibil

cvs commit: ant/src/main/org/apache/tools/ant/launch Launcher.java

2005-03-01 Thread stevel
stevel 2005/03/01 06:55:47 Modified:src/main/org/apache/tools/ant AntTypeDefinition.java MagicNames.java ComponentHelper.java Diagnostics.java UnknownElement.java src/main/org/apache/tools/ant/launch Launcher.java Log: c

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Manifest.java

2005-03-01 Thread stevel
stevel 2005/03/01 06:52:56 Modified:src/main/org/apache/tools/ant/taskdefs Manifest.java Log: update to java1.5 docs, to show we are still 100% correct. Revision ChangesPath 1.55 +2 -2 ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java Index: Manifes

Re: [PATCH] SubAnt verbose attribute

2005-03-01 Thread craig ryan
anyone interested to respond to this guys? The company is using a special-build ant.jar from me at present with this update, I want to see if I can get this rolled into the standard distribution. thanks, craig ryan. craig ryan wrote: With complex build systems in particular I've found it useful

DO NOT REPLY [Bug 33787] - [PATCH] Extension to to print entering/leaving dir messages

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Ant result

2005-03-01 Thread Yves Martin
"sachit aggarwal" <[EMAIL PROTECTED]> writes: > Hi > I am trying to call ant from my application(using exec in java),now i want > to know programatically whether build was succesful or not.Can anyone help me > out with this. The process exit code is different: 0 if successful 1 if Buil

DO NOT REPLY [Bug 33787] New: - [PATCH] Extension to to print entering/leaving dir messages

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: loop with ant

2005-03-01 Thread James Fuller
Maxime FAZENTIEUX wrote: Hi, I want to execute ant tasks in a loop : The Java class : public class TacheEssai extends Task{ public void execute() throws BuildException{ Project projet = this.getProject(); for(int i=0;i<5;i++){ projet.setUserProperty("num_tmp",""+i); projet

Re: loop with ant

2005-03-01 Thread Yves Martin
"Maxime FAZENTIEUX" <[EMAIL PROTECTED]> writes: > PROBLEM : The property num_tmp is always to 0 ! > > How do I can do to change the num_tmp ? Properties in Ant are immutable (in normal usage) You can use 'Project.setProperty' instead of 'Project.setUserProperty' as a work-around. Maybe th

How to call ant from java

2005-03-01 Thread sachit aggarwal
Hi i am facing some problems in calling ant classes directly from java code i.e. my code build succesfully but when i try to execute it throws an exception: Exception in thread "main" java.lang.NoClassDefFoundError: test (wrong name: Test) at java.lang.ClassLoader.defineClas

Ant result

2005-03-01 Thread sachit aggarwal
Hi I am trying to call ant from my application(using exec in java),now i want to know programatically whether build was succesful or not.Can anyone help me out with this. Thanks and Regards Sachit Aggarwal _ News, views and gossi

Re: a few questions (sorry quite long)

2005-03-01 Thread James Fuller
Steve Loughran wrote: James Fuller wrote: btw I have a few general developer questions... before I start caning bugzilla I think any responses would be well appreciated; really appreciate the time you have taken to answer.even where you have confirmed simply lets me know if something is cons

loop with ant

2005-03-01 Thread Maxime FAZENTIEUX
Hi, I want to execute ant tasks in a loop : The Java class : public class TacheEssai extends Task{ public void execute() throws BuildException{ Project projet = this.getProject(); for(int i=0;i<5;i++){ projet.setUserProperty("num_tmp",""+i); projet.executeTarget

DO NOT REPLY [Bug 24493] - VSS bad reference: srssafe.ini does not exist. It IS srcsafe.ini

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: a few questions (sorry quite long)

2005-03-01 Thread Steve Loughran
James Fuller wrote: btw I have a few general developer questions... before I start caning bugzilla I think any responses would be well appreciated; a few comments on usage of XDoclet to autodoc manual as someone who is a complete f

cvs commit: ant/docs ant_task_guidelines.html

2005-03-01 Thread stevel
stevel 2005/03/01 02:32:08 Modified:docs ant_task_guidelines.html Log: updated the guidelines Revision ChangesPath 1.14 +39 -17ant/docs/ant_task_guidelines.html Index: ant_task_guidelines.html ==

Re: Execute. getProcEnvironment()

2005-03-01 Thread Steve Loughran
Kev Jackson wrote: The problem with checking for win9x is having specialized code just for one platform, but to rewrite so that every OS uses a file to dump out the variables would require changing getProcEnvCommand for all OSs and testing on all OSs (a headache to say the least), although havin

DO NOT REPLY [Bug 33779] - NPEs when merging a manifest, when there is no file to merge into

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Zip.java

2005-03-01 Thread peterreilly
peterreilly2005/03/01 01:48:51 Modified:src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH Zip.java Log: sync Revision ChangesPath No revision No revision 1.116.2.15 +3 -1 ant/src/main/org/apache/

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Zip.java

2005-03-01 Thread peterreilly
peterreilly2005/03/01 01:48:36 Modified:src/main/org/apache/tools/ant/taskdefs Zip.java Log: NPE when adding comment to zip file that is not there PR: 33779 Revision ChangesPath 1.138 +3 -1 ant/src/main/org/apache/tools/ant/taskdefs/Zip.java Index: Zip.jav

Re: Execute. getProcEnvironment()

2005-03-01 Thread Darin Swanson
For the Eclipse bug report for this problem see https://bugs.eclipse.org/bugs/show_bug.cgi?id=50567 The implementation is in org.eclipse.debug.internal.core.LaunchManager.getNativeEnvironment() This was put into Eclipse 3.0 to fix the hang for us. HTH Darins Kev Jackson <[EMAIL PROTECTED]>

Re: Execute. getProcEnvironment()

2005-03-01 Thread Kev Jackson
Steve Loughran wrote: seeing the install notes for eclipse shows up what they think are troublespots with ant, one of them being that hangs: http://issues.apache.org/bugzilla/show_bug.cgi?id=26770 I think we ought to take a look at this code, and rework it some more. It is all built around ex