, 2011 at 3:44 AM, Shawn Castrianni
wrote:
> When using fileset, I sometimes need to programmatically set my includes at
> build time. Therefore, I use the includes attribute on fileset allowing me
> to build up a list of includes separated by commas into an ANT property and
> the
links to external
javadocs. How can I set my links in a programmatic way so that it can change
at build time depending on what module I am generating javadocs for? I am
trying to find out if there is something out there before I go and extend the
javadoc task. Thanks.
---
Shawn Castrianni
that the employees use which has my post
process target.
---
Shawn Castrianni
-Original Message-
From: Peter Kahn [mailto:citizenk...@gmail.com]
Sent: Thursday, July 07, 2011 10:56 AM
To: ivy-u...@ant.apache.org
Subject: C, C# and Ivy - Publishing binaries and many supporting files
H
null) && (_message.length() > 0))
log("\n" + _message,Project.MSG_INFO);
getProject().fireBuildFinished(null);
System.exit(0);
}
public void setMessage(String message)
{
_message = message;
}
}
---
Shawn Castrianni
-Original Message-
From: M
The simplest is to use Antelope tasks:
http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html
That URL shows using the lowercase task in the very first example.
---
Shawn Castrianni
-Original Message-
From: Gilbert Rebhan [mailto:gil...@maksimo.de]
Sent: Monday, January 10, 2011
exe to run based
on my platform.
---
Shawn Castrianni
-Original Message-
From: Lin Sun [mailto:linsun@gmail.com]
Sent: Friday, January 07, 2011 2:32 PM
To: user@ant.apache.org
Subject: Untar task in Ant
Hi
I 'd like to use untar task in ant, looks very cool and mature!
d with the author Xavier Hanin to add more features for
my use cases and so far it can do everything that I need. Development is
looking into OSGI which may conflict with IVY, not sure yet.
---
Shawn Castrianni
-Original Message-
From: Michael Ludwig [mailto:mil...@gmx.de]
Sent: Thursda
es whether the ant launcher scripts perform the auto-update on every
invocation or not. It not, it is up to the user to update it by manually
running an svn update.
ivy is then used for all other kind of dependencies for the actual building of
source code.
---
Shawn Castrianni
-Origin
in the root element.
---
Shawn Castrianni
-Original Message-
From: Matthew Jaggard [mailto:matt...@jaggard.org.uk]
Sent: Monday, July 19, 2010 10:40 AM
To: Ant Users List
Subject: Re: [Newbie] Nice way of concatenating f
like zip
would be.
---
Shawn Castrianni
-Original Message-
From: John W. Lewis [mailto:johnw.le...@sas.com]
Sent: Thursday, July 01, 2010 7:44 AM
To: Ant Users List
Subject: RE: Ant 1.8 unzip does not preserve permissions!
may be helpful.
http://ant.apache.org/manual/Tasks
e you are new to java, you may not know that you can open up any jar with a
zip tool, like Winzip or winrar. I do this a lot to inspect the contents of
the jar. If you open up ant-junit.jar, you will see that the
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask class is inside.
---
ocation of without
resultproperty specified. This is frustrating.
Therefore, I propose that a new ANT task coding guideline be introduced such
that all setters (where applicable) check the incoming values for null or empty
strings and behave as if the setter was never called.
---
Shawn
task code and the class that handles the option sub
elements just consumes the text as a plain String and does NOT assume it is an
ant property that needs evaluating. Is that a mistake on their part?
---
Shawn Castrianni
--
T
] index: 6
[echo] index: 7
[echo] index: 8
[echo] index: 9
[echo] index: 10
BUILD SUCCESSFUL
Total time: 0 seconds
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
roj.getProperty(_property);
}
if((_keepgoing) && (_errorCount != 0))
throw new BuildException("Keepgoing execution: " + _errorCount + " of " +
_taskCount + " iterations failed.");
}
}
Shawn Castrianni
--
dependencies itself to prevent them from being locked. This is weird. I would
guess it is NOT an ant bug?
---
Shawn Castrianni
-Original Message-
From: Shawn Castrianni [mailto:shawn.castria...@halliburton.com]
Sent: Friday, March 26, 2010 10:48 AM
To: 'Ant Users List'
Subject:
me more of
those empty directories are deleted. If I continue to run it again and again,
eventually all empty directories are deleted including the dependencies top
level directory itself.
How do I get everything to delete the first time?
---
Shawn Castrianni
-Original Message-
From:
child
directory which WILL be deleted later on during the iteration. Is
smart enough to iterate from the leaves on up? If not, what is?
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidentia
riables start being created.
Then I can use that cached propertyset later on without any ant-contrib
variables being inside.
---
Shawn Castrianni
-Original Message-
From: Dominique Devienne [mailto:ddevie...@gmail.com]
Sent: Monday, March 01, 2010 3:59 PM
To: Ant Users List
Subject:
Castrianni
-Original Message-
From: Dominique Devienne [mailto:ddevie...@gmail.com]
Sent: Monday, March 01, 2010 3:59 PM
To: Ant Users List
Subject: Re: Detect command line properties
On Mon, Mar 1, 2010 at 10:28 AM, Shawn Castrianni
wrote:
> Is there a way to tell the difference between
special setup in my custom bat/sh scripts that invoke ant) and I would like the
command line properties specified by the user to be forwarded to the child ant
build that I exec. If I can detect them, then I can modify my exec command
line to include them.
---
Shawn Castrianni
"/>"/>
open source and GPL'ed. All
newer versions are commercial. By including JEP jar into the ANT distribution,
supporting full Boolean expressions in if/unless conditions would be trivial
since all the hard grammar parsing and evaluating is already handled by JEP.
Just a suggestion.
---
ow - fileAge) < testAge;
return(retVal);
}
public void setFile(String file)
{
_file = file;
}
public void setAge(float age)
{
_age = age;
}
}
---
Shawn Castrianni
-Original Message-
From: Francis GALIEGUE [mailto:f...@one2team.com]
Sent: Friday, October 23,
I run ANT with 1.6 all the time. Therefore, you could always write your own
condition or task with ANT API just as long as you run your ANT builds with 1.6.
---
Shawn Castrianni
-Original Message-
From: Francis GALIEGUE [mailto:f...@one2team.com]
Sent: Friday, October 23, 2009 4:44
I had a similar request in this email list. Here is a link:
http://www.nabble.com/zip-tar-and-file-permissions-td22315686.html
It has some feedback on this subject.
---
Shawn Castrianni
-Original Message-
From: Francis GALIEGUE [mailto:f...@one2team.com]
Sent: Friday, October 23
Maybe split up your echo statement into 2 args?
---
Shawn Castrianni
-Original Message-
From: chris chriss [mailto:mr.monkey9...@gmail.com]
Sent: Sunday, August 23, 2009 2:15 PM
To: user@ant.apache.org
Subject: path env variable for fedora 10 and 11
I'm trying to a
The if/unless apply to the target they are specified on ONLY. They do not have
any effect on the depends targets. I don't like this either. I posted about
this very subject earlier this year. Here is a link to it:
http://www.nabble.com/ANT-enhancements-td24028826.html
---
Shawn Castr
I ran into this exact problem, but I don't know if you have the same cause that
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 Me
es/no" to allow the developer to choose either a
successful stop of the build or a failed stop of the build.
---
Shawn Castrianni
-Original Message-
From: Dominique Devienne [mailto:ddevie...@gmail.com]
Sent: Wednesday, June 24, 2009 10:48 AM
To: Ant Users List
Subject: Re: run sc
This online presentation is hanging after slide 2. Can I get this information
some other way or can I download the presentation locally?
---
Shawn Castrianni
-Original Message-
From: Rebhan, Gilbert [mailto:gilbert.reb...@huk-coburg.de]
Sent: Wednesday, June 24, 2009 2:13 AM
To:
mmand from displaying in the console. I would like
the end user to see the update take place to know when it is complete. Anybody
have any ideas?
---
Shawn Castrianni
--
This e-mail, including any attached files, m
retVal = (now - fileAge) < testAge;
return(retVal);
}
public void setFile(String file)
{
_file = file;
}
public void setAge(float age)
{
_age = age;
}
}
---
Shawn Castrianni
-Original Message-
From: Sascha Ernst [mailto:sascha.er...@living-e.com]
Sent: Tuesd
quest.
---
Shawn Castrianni
-Original Message-
From: David Weintraub [mailto:qazw...@gmail.com]
Sent: Monday, June 15, 2009 12:27 PM
To: Ant Users List
Subject: Re: ANT enhancements
You might be interested in the AntContrib package. This package allows you
to include full if/else logic i
()
{
if((_message != null) && (_message.length() > 0))
log("\n" + _message,Project.MSG_INFO);
getProject().fireBuildFinished(null);
System.exit(0);
}
public void setMessage(String message)
{
_message = message;
}
}
---
Shawn Castrianni
-Original Me
normal and
successful. How could I write my own task to do this?
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient
sions? (See #1)
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any review,
use, distribution, or disclosu
cannot be cast to
org.w3c.dom.Element
I think that in order for this append attribute to work, this task must allow
both XML elements AND XML text as children. I see no other way.
Am I missing something?
---
Shawn Castrianni
I load in my environment variables with:
I use ant properties throughout my script with the env. prefix so that end
users can override them with real environment variables, if they wish. If
those env. prefixed ant properties are not initialized from the real
environment variables, I default
all of their
tasks, I was wondering if it was possible to turn on verbose ant logging JUST
for the duration of 1 task?
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
privileged
g++ command. This doesn't work since
getCommand is a final method.
3. hack up cpptasks source code and make my own cpptasks.jar
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confide
is is no longer true with java 1.6. Sure it can't give you full granularity
with user, group, and other, but it is pretty close so might as well use it.
---
Shawn Castrianni
-Original Message-
From: David Weintraub [mailto:qazw...@gmail.com]
Sent: Tuesday, March 03, 2009 2:04 P
or my needs.
---
Shawn Castrianni
-Original Message-
From: Stefan Bodewig [mailto:bode...@apache.org]
Sent: Tuesday, March 03, 2009 10:44 PM
To: user@ant.apache.org
Subject: Re: zip/tar and file permissions
On 2009-03-03, Shawn Castrianni wrote:
> Java 1.6 seems to have available:
&
Java 1.6 seems to have available:
canRead
canWrite
canExecute (new to 1.6)
setReadable (new to 1.6)
setWritable (new to 1.6)
setExecutable (new to 1.6)
which makes me think this is now possible to do in a platform independent way
from ANT.
---
Shawn Castrianni
From: Shawn Castrianni
Sent
t "644". Is it possible to do what I want
without resorting to the exec task and just executing tar directly and then
hoping that any windows machine has MKS toolkit installed so that tar exists?
---
Shawn Castrianni
isn't even possible to do this in
Java, then I don't have to bother submitting an enhancement request to ANT.
This would also solve my other problem which I posted a few days ago about
running a series of setupEnv.bat commands before invoking a Java command.
---
Shawn Castrianni
-
s not remembered from one batch file to the next so when
I finally launch my java class, that environment from the batch files is
already gone, I think
---
Shawn Castrianni
-Original Message-
From: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de]
Sent: Friday, February 13, 2009 2:05
n't even know if it is possible in java. You would have to somehow invoke
a separate process and then feed it commands to run (like executing batch
files) to setup its environment, and then pass it the JVM command line to
fi
:\svn\trunk\ADT\build\tests\win32\TESTS-TestSuites.xml
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any review
As far as updating XML, the xmltask from oops consultancy is perfect. I have
been able to do everything I need for parsing and editing with that task.
---
Shawn Castrianni
-Original Message-
From: Mitch Gitman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2008 10:13 AM
To: [EMAIL
If you change the current behavior, then it makes IVY less powerful. If you
keep the current behavior, then people can always turn it off with
override="false". So the current behavior satisfies both needs.
---
Shawn Castrianni
-Original Message-
From: Maarten Coene [mai
Yes, that is expected. ivy properties and ant properties are the same thing
from my understanding.
---
Shawn Castrianni
-Original Message-
From: Brown, Carlton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 12:14 PM
To: [EMAIL PROTECTED]
Subject: RE: Ivy can mutate Ant
Yes, this is default behavior. IVY settings files can have properties with the
option to alter pre-existing properties. The option is in the "override"
attribute. If you set it to false, then you will not mutate any ANT
pre-existing properties.
---
Shawn Castrianni
-Origin
Try splitting up the -o and the output filename as two separate You
probably have an with two arguments which won't work since ANT
quotes the contents of the line combining them into one. Either
change to two tags or change what you have to an
---
Shawn Castrianni
-Ori
You are almost correct. Just change your nested classpath element to a path
element.
---
Shawn Castrianni
-Original Message-
From: Brendan Miller [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 25, 2008 11:49 PM
To: Ant Users List
Subject: appending to classpath
I have a
I think I ran into this as well and I think that this suggestion would work
nicely.
---
Shawn Castrianni
-Original Message-
From: Brown, Carlton [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2008 10:46 AM
To: [EMAIL PROTECTED]
Subject: Use cases of resolver force mode
I have a
If the jboss.wily.jvmargs property is not set, then ${jboss.wily.jvmargs}
doesn't evaluate to anything other than:
${jboss.wily.jvmargs}
which will always have a length greater than 0.
---
Shawn Castrianni
-Original Message-
From: Mohit Anchlia [mailto:[EMAIL PROTECTED]
Sent: Tu
Yes, you are right. I copied and pasted the command from an email and since
the email was HTML based, it must have translated the character into something
besides ASCII 45. If I manually typed the command it worked properly. Thanks
for the quick response.
---
Shawn Castrianni
er and,
therefore, being interpreted as another target to run instead of a property
setting.
Any ideas? I am thinking it has to be an environment problem as it only
happens on a few machines. I have only seen this happen on windows machine
buggy back then??
Sorry, I don't have anything concrete for you, but I wouldn't be surprised if
the problem was all the background crap that Vista runs. Maybe you can go to
black viper's website follow his suggestions and disable all unnecessary
services to speed things up.
---
S
Basically, my idea is to take the awesome flexibility of cpptasks (with its if
and unless support and ability to reuse sets of tags) but apply it to
since cpptasks won't work for arbitrary program execution.
---
Shawn Castrianni
-Original Message-
From: Yang Zhang [mailto:[
Yes, but not with standard ANT. You have to use the stringutils plugin from
antelope with docs here:
http://antelope.tigris.org/nonav/docs/manual/bk03ch13.html
---
Shawn Castrianni
-Original Message-
From: Anthony Muller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2008 9:51 PM
be so much
more useful to pass in command line arguments. ANT already provides a
mechanism to pass in information by specifying -D properties on the command
line. Therefore, why is it so different to support the same feature with
command line arguments instead?
---
Shawn Castrianni
-Ori
I would love it too. Can we all vote for this or can any ANT committer on this
mailing list checkin in this enhancement that Dominique has already written?
---
Shawn Castrianni
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2008 1:33 PM
To
Here is the bugzilla report from Dominique.
https://issues.apache.org/bugzilla/show_bug.cgi?id=30651
it answers your questions.
---
Shawn Castrianni
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2008 12:56 PM
To: Shawn Castrianni
Cc: Ant
..
properties and submitted the source code to ANT. It is still sitting there as
a request for ANT to checkin but no one voted on it.
---
Shawn Castrianni
-Original Message-
From: Guy Catz [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2008 11:56 AM
To: Ant Users List
Subject: calling
task will do it.
---
Shawn Castrianni
-Original Message-
From: breako [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2008 9:57 AM
To: user@ant.apache.org
Subject: Checking a file exists
Hi,
Does Ant have a command which will check if a file exists?
Thanks
--
View this message in
of them in order first before big
which will even before that first call init only one time.
So you should see:
---
Shawn Castrianni
-Original Message-
From: Guy Catz [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 2:50 AM
To: user@ant.apache.org
Subject: Depends="init&q
You have your JAVA_HOME set to a JRE (Java Runtime Environment) instead of a
JDK (Java Development Kit). Download the JDK instead of the JRE and set your
JAVA_HOME to point to the JDK and it should work.
---
Shawn Castrianni
From: Chakradhar Jalkam [mailto:[EMAIL PROTECTED]
Sent: Sunday, June
I am currently using svnant with javasvn and everything works great, it is just
very sloow. Much slower than command line svn or SmartSVN. I was thinking
about trying svnkit as a replacement for javasvn. Would it be any faster?
---
Shawn Castrianni
-Original Message-
From: Dale
t a timeout require a "perTest" forkmode so that each
test is in its own JVM that can be safely killed after the timeout period has
elapsed?
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain
Is there a way to incrementally add files to a fileset? I am building a
fileset by looping through an XML file and need to add files to a named fileset
one by one if they meet certain criteria. Is this possible without converting
everything into paths or strings or stuff like that?
---
Shawn
ag as an attribute
of an ivy module? Currently I have been overloading the branch attribute to
store tag names as well as branch names, but it seems messy. Just curious what
others thought.
---
Shawn Castrianni
--
This e
ndows?
---
Shawn Castrianni
-Original Message-
From: Shawn Castrianni [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2008 4:30 PM
To: 'Ant Users List'
Subject: shared ant installation
I am trying to produce a sandbox with ant and some master build scripts such
that all my devel
a:104)
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any review,
use, distribution, or disclosure by othe
problem or is
using JUnit 4.4 with ANT 1.7 a bad idea?
---
Shawn Castrianni
-Original Message-
From: Shawn Castrianni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 14, 2008 2:05 AM
To: 'Ant Users List'
Subject: JUnit crash after successful run
I am getting a forked JVM crash fo
that appears to be coming from
System.err. This System.err is not visible when running with junit task.
Where is it going? I have tried versions of formatters and such, but I can't
get the forked JVM crash to go away.
---
Shawn
I haven't tried svn update, but svn checkout worked great. However, I am using
the pure Java svn plugin with great success.
---
Shawn Castrianni
-Original Message-
From: Alex Miller [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 29, 2008 12:46 PM
To: Ant Users List
Subject: Re
. This break the C compiler on windows. How can I specify that
should be part of the previous . Is there some
property that is set for each file as apply loops through the fileset so that I
can use the property name instead of the tag?
---
Shawn Castrianni
pick the number
corresponding to their choice would also be helpful.
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipi
All platforms means:
Win32
Win64
Linux32
Linux64
Solaris64
Windows does not have bash that I am aware of, unless I install MKS Tools or
some 3rd party software.
---
Shawn Castrianni
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 10
Will the semicolon trick of executing more than one command with one exec task
work on all platforms??
---
Shawn Castrianni
-Original Message-
From: Vallon, Justin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 9:54 AM
To: Ant Users List
Subject: RE: exec task
Shawn,
'
something else with the
batch file already having been run.
---
Shawn Castrianni
--
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any
o the exec task
via a file. This could allow an outside resource like a file to control the
execution of the exec task. The file name could be calculated at ANT time and
perhaps overridden by the user to get different behavior from the exec task.
---
Shawn
vy to get dependencies from an SCM
repo? I don't want to have to implement my own resolver. What do other
people do to be able to support rebuilding something from the past with
dependencies?
---
Shawn Castrianni
CM Lead Architect
Landmark
Halliburton Drilling, Evaluation and Digital
it works fine. The
bug is only when I use the latest. method.
---
Shawn Castrianni
CM Lead Architect
Landmark
Halliburton Drilling, Evaluation and Digital Solutions Building 2
2101 City West Blvd.
Houston, TX 77042
Work: 713-839-308
n the resolved ivy files? How would someone be
able to trace back the history of a given module build without knowing which
branch the dependencies came from?
---
Shawn Castrianni
CM Lead Architect
Landmark
Halliburton Drilling, Evaluation and Digital Solutions Building 2
2101 City West Blvd.
Housto
87 matches
Mail list logo