AW: calling targets from macrodefs

2005-02-23 Thread Jan . Materne
You can call other targets - simply with . Just replace with and that should work. Or another design: Place the stuff from in a and you could call that from the target "foo" and from inside the macrodef. Jan -Ursprüngliche Nachricht- Von: Michael Pelz Sherman [mailto:[EMAIL PROT

Re: ANT and symantec java compiler

2005-02-23 Thread Ronen Mashal
>Stefan Bodewig <[EMAIL PROTECTED]> wrote on 02/23/2005 04:22:05 PM: > On Tue, 22 Feb 2005, Ronen Mashal <[EMAIL PROTECTED]> wrote: > > > I need to compile a piece of code with SJ. > > I didn't it still exists. We kept it so customers that insist on using MS JVM instead of plugin will still be ab

calling targets from macrodefs

2005-02-23 Thread Michael Pelz Sherman
Hi,   Please excuse the somewhat newbie-ish question, but is it possible to call an ant target from within a macrodef?   The attached file contains a simplified example.   When run, I get the following error:   "Ant could not find the task or a class this task relies upon"   Many Thanks! - M

classpath problem (source code)

2005-02-23 Thread Andre Dantas Rocha
Oops...  I forgot the code package ant; import java.io.File; import org.apache.tools.ant.Project; import org.apache.tools.ant.taskdefs.Javac; import org.apache.tools.ant.types.Path; public class AntRunner { // separador de arquivos (\) public static final String FILE_SEP = (String) System

classpath problem

2005-02-23 Thread Andre Dantas Rocha
Hi, I'm trying to use Ant to compile some classes. I'm doing it via java code, creating a Project and executing it. I'm setting the Javac task classpath via Path element, but seems that Ant does not uses it. When I print the classpath it looks ok, but it doesn't work... My code is attached, an

Re: Symlink badness. . .

2005-02-23 Thread Edward Ciramella
Yes - sigh - I've added all this functionality and a series of dependencies to test for a symlink and then create them as needed. I honestly think that branching every folder each time and asking people to ignore via client spec is a better solution.

Re: Symlink badness. . .

2005-02-23 Thread Matt Benson
--- Mark Lundquist <[EMAIL PROTECTED]> wrote: [SNIP] > > I'm no Ant guru, but here are some suggestions: > > — you could just punt on , and just > an ln -shf...? > > — or, use and the "unless" > attribute on something > so that you only make the link if the directory > doesn't exist... I thi

Re: Symlink badness. . .

2005-02-23 Thread Mark Lundquist
On Feb 23, 2005, at 7:54 AM, Edward Ciramella wrote: What I'm trying to do is create a symlink to a directory which may/may not exist in the current branch. So if the child branch doesn't have a particular folder, create a symlink to it prior to starting the build. It's possible for the child br

Re: Symlink badness. . .

2005-02-23 Thread Edward Ciramella
What I'm trying to do is create a symlink to a directory which may/may not exist in the current branch. So if the child branch doesn't have a particular folder, create a symlink to it prior to starting the build. It's possible for the child branch to contain this folder, but it may not always b

Re: Symlink badness. . .

2005-02-23 Thread Matt Benson
--- Edward Ciramella <[EMAIL PROTECTED]> wrote: > With overwrite set to true and failonerror set to > false, I still get > the link in the sub directory and the second time > it's run, I get the > build failed message. Okay, are all these tests based on the situation that ${basedir}/testing-si

build installshield in ant

2005-02-23 Thread Radha Sangal
Anybody has written script in ant to build an installshield project (extension .uip) ? Thanks in advance.

Re: ANT and symantec java compiler

2005-02-23 Thread Stefan Bodewig
On Tue, 22 Feb 2005, Ronen Mashal <[EMAIL PROTECTED]> wrote: > I need to compile a piece of code with SJ. I didn't it still exists. > It works fine when I compile with debug information but when I set > debug="false" ANT puts "-g:none" on the command and this is not > valid for SJ. Is there any

Re: Symlink badness. . .

2005-02-23 Thread Edward Ciramella
With overwrite set to true and failonerror set to false, I still get the link in the sub directory and the second time it's run, I get the build failed message. Here is the exact line from the build file: On Feb 22, 2005, at 4:55 PM, Matt Benson wrote: --- Edward Ciramella <[EMAIL PROTECTED]> w

PB JDepend and exclude Package

2005-02-23 Thread Franck DARRAS
Hello, This is my Jdepend Task and in my output file, i find some reference to this exclude package. Could you help me to resolve this problem ? Ant : 1.6.2 JDepend 2.7