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
>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
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
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
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
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.
--- 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
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
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
--- 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
Anybody has written script in ant to build an installshield project
(extension .uip) ?
Thanks in advance.
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
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
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
14 matches
Mail list logo