Re: Sync task does not sync tmp folders

2005-10-12 Thread Martin Burger
Martin Burger wrote: Dominique Devienne wrote: Are these tmp/ folders empty? There's an option to control behavior about empty folders. --DD > ls -la .svn/tmp/ total 0 drwxr-xr-x6 mburger 100 204 Oct 12 14:32 . drwxr-xr-x 14 mburger 100 476 Oct 12 14:36 .. drwxr-xr-x2

Re: Sync task does not sync tmp folders

2005-10-12 Thread Martin Burger
Dominique Devienne wrote: Are these tmp/ folders empty? There's an option to control behavior about empty folders. --DD > ls -la .svn/tmp/ total 0 drwxr-xr-x6 mburger 100 204 Oct 12 14:32 . drwxr-xr-x 14 mburger 100 476 Oct 12 14:36 .. drwxr-xr-x2 mburger 100 68 Oct 12 14:32 pr

Sync task does not sync tmp folders

2005-10-12 Thread Martin Burger
Hello! I try to sync a working copy of a subversion repository: But the sync task does not copy the tmp folders in subversion's admin directory (.svn/tmp). If I copy manually such a directory, the sync task will delete that dir saying "Removed 10 dangling directories

Execute task throws IllegalThreadStateException

2005-09-19 Thread Martin Burger
Hello, I'm using the Execute task (Ant 1.6.5) to start a Java program programmatically. Sometimes, the method "Execute.execute(Execute.java:490)" throws an IllegalThreadStateException: Exception in thread "DDchange-RMIJUnitTesterLauncherThread" java.lang.IllegalThreadStateException a

Redirect output of Javac task

2005-09-13 Thread Martin Burger
Hello! I'm using the Javac task to compile Java sources programmatically. If there is an compile error, the Javac tasks (more specific the com.sun.tools.javac.Main compiler) prints it's error to the console (System.err). Currently, I'm setting System.err to a new PrintStream just before I c

Javac does not delete class file of not-existing java file

2005-08-23 Thread Martin Burger
Hello, I'm using the Javac task programmatically to compile java source files. Unfortunately, javac does not remove class files of java files that do not exist (anymore). And pruning the destination dir is not a good solution, because only the changed java files should be compiled - not all f

Re: Javac does not delete class file of not-existing java file

2005-08-23 Thread Martin Burger
Petar Tahchiev schrieb am 23.08.2005 18:26: What's wrong with the delete task? Thanks for the hint. Want to delete file? - Use delete task! :-) After reading the documentation second time I found the solution. You need a delete task that contains a file set. That file set contains a prese

Javac does not delete class file of not-existing java file

2005-08-23 Thread Martin Burger
Hello, I'm using the Javac task programmatically to compile java source files. Unfortunately, javac does not remove class files of java files that do not exist (anymore). And pruning the destination dir is not a good solution, because only the changed java files should be compiled - not all f

Re: JUnit task - how to call single test method

2005-07-18 Thread Martin Burger
Conor MacNeill schrieb am 18.07.2005 13:01: Look at the element. Also, for an example, look at Ant's build file. That executes all test methods defined in $testcase, doesn't? I looked meantime at the source code, I think it is not possible to execute a single test method. JUnitTask

JUnit task - how to call single test method

2005-07-18 Thread Martin Burger
Hello, using the JUnit task is it possible to execute a single test _method_? Regards, Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using task Javac programmatically - how to add compilerarg line

2005-07-14 Thread Martin Burger
Petar Tahchiev schrieb am 14.07.2005 13:05: You can always use the directive. But how to add that directive programmatically (via instance of org.apache.tools.ant.taskdefs.Javac)? Regards, Martin - To unsubscri

Using task Javac programmatically - how to add compilerarg line

2005-07-14 Thread Martin Burger
Hello! I want to use the Javac task programmatically. After getting my feet wet while reading a lot of source code I managed to set all attributes and execute the task successfully - expect one: How can I add a compilerarg line to the Javac task? I haven't found a proper method to add someth