Hi,
Is there an ANT task to grep all "imports" in each java file and save
them in another file?
Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ta. Thanks.
Yeah, I'd rather not set a properties file - then you have to worry
about cleaning it up.
Basically, I have a mix of antcalls and ant tasks (ie calling to other
buildfiles) - and I want the property status to be set/seen throughout.
The property represents the base-project initialisati
Nick,
If you want to call a target within the same project. Use Ant-contrib's
runtarget task
(http://ant-contrib.sourceforge.net/tasks/tasks/index.html). Since the
call is in the same project, any property you set in the called target
is also visible to caller
If you want AntCall like behav
So, you saying I am being silly? ;-)
I was expecting different behaviour - but what you say makes perfect
sense...
Thanks for sorting that out...
-Nick
-Original Message-
From: Andrew Goktepe [mailto:[EMAIL PROTECTED]
Sent: 25 July 2006 00:13
To: Ant Users List
Subject: Re: Am I be
This is not a bug. Properties that are set during an antcall are not passed
back to the calling target, but properties do go the other direction as the
called target inherits them from its parent. Therefore, when target2 calls
dependency1, run_once_target.done is set, but is lost when control retu
Title: Am I being a silly - or is there an antcall bug?
I would expect that when calling all targets below (target1, target2 & target3) the "run_once_target" would get called only… once.
However, its not so.
With "target2", it gets called twice.
Is that a bug?
Doesn’t seem to matter if I
Title: Am I being a dumbass - or is there an antcall bug?
I would expect that when calling all targets below (target1, target2 & target3) the "run_once_target" would get called only… once.
However, its not so.
With "target2", it gets called twice.
Is that a bug?
Doesn’t seem to matter if
is a selector, and thus will never have a refid attribute.
It only sees one file at a file, and decides whether this file should
be selected or not.
Selectors always end up being *nested* in a fileset. Each of your
needs to get a different filesets, corresponding to the files
than need transfer
Currently, is not supported for refid. I would like to
suggest that this is a needed feature.
I have a project that must be built on several platforms. The
build.xml uses scp to copy the files to each target system, then
sshexec to execute the build script.
The files are the same on all syste
From the JDK documentation (for example
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html)
<<>>
So I'm kinda surprised loadproperties offers an encoding attribute,
since the encoding of a properties file should be strictly ISO 8859-1
+ Unicode escapes.
Maybe it converts the spe
I am struggling with some encoding issues. I have:
In my.properties, message is set to "\u00F3"
The output is the less than or equal to sign.
This is the ASCII escape sequence for the less than or equal to sign. Since
that is not an escape sequence in UTF8, shouldn't it out
Use the task, or point to the manifest.txt in it's original
location in your jar task.
-Rob A
> -Original Message-
> From: Mark Probert [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 20, 2006 3:07 PM
> To: user@ant.apache.org
> Subject: Copying files
>
>
> Hi ..
>
> I have a build
It looks like the jdk 1.3.1 version you are using is not compatible with
the version of GLIBC 2.0. BEA should be able to tell you what version of
jdk you need to run Weblogic. It's been a while since I used Weblogic,
but doesn't it come with a jdk? If so, use the one provided. The error
you get whi
Here is how I decided to do it. If the command-line parameter "span" is
supplied with the value "week", "start.date" is assigned the value of
"weekly.start.date". Otherwise, it is assigned the value of "daily.start.date".
--
Charles Knell
[EMAIL PROTECTE
In your case, it seems that you only need to test whether or not the
property is set, and not necissarily the value. In other words, if you
want a weekly report set week=true on the command line, otherwise assume
the report should be daily by default. The easiest way to do this is...
...
...
The error you are getting indicates that the username and password are
incorrect. Some people have had problems if there are special characters in the
password and the password is in the build.xml file. If this is the case, try
putting the password in a properties file, without quotes. The best
Hello,
You can use instead of to call your
build scripts. According to docs [1] it
supports failonerror attribute. I think by default it
is true, but you can set it to false.
Regards
Ivan
[1] http://ant.apache.org/manual/CoreTasks/subant.html
--- John Davis <[EMAIL PROTECTED]> wrote:
> Hell
Hi,
Iam using the following code to run the web logic server using ant.
Following are the versions --
Weblogic 7.0
J2sdk 1.3.1_06
Ant 1.6.5
os is linux-- Fedora.
When i run this one it is giving me the following error --
Error occurred during initialization of VM
Unable to load
If you want this behavior globally, you can use the -keep-going option (
http://ant.apache.org/manual/running.html). Beware of dependencies though;
continuing on error is rarely a good idea.
-Andrew
On 7/24/06, John Davis <[EMAIL PROTECTED]> wrote:
Hello
I have a setup where the top-level bu
I'm currently facing a similar problem and are wondering if it is
related to:
http://marc.theaimsgroup.com/?l=ant-dev&m=111959408515300&w=2
The server I am trying to connect to does indeed use
keyboard-interactive login (as is apparent when I do a manual login with
SSH/PuTTY).
Both sshexec and s
Hello
I have a setup where the top-level build.xml calls build.xml files in
subdirectories via the ant task. I would like the top-level build.xml
file to continue calling other build.xml files in the subdirectories
in case one directory fails to build.
Is this possible?
--
John F. Davis "JD"
h
21 matches
Mail list logo