hi all,
finally i am using the java task to do it.
here, i am getting
exectask:
[java] The args attribute is deprecated. Please use nested arg
elements.
[java] Working directory ignored when same JVM is used.
[java] ERROR: source file: npacejb.jar could not be found.
It seems
On Wed, 18 Jan 2006, Bernard Cena <[EMAIL PROTECTED]>
wrote:
> Is there a way to substitute what executable is used under the hood
> of task in similar fashion to executable and compiler
> attribute for ?
No. doesn't use any executable at all but its own set of ZIP
classes.
Many of the task'
On Wed, 18 Jan 2006, Matt Benson <[EMAIL PROTECTED]> wrote:
> We usually hype Erik and Steve's Java Development with
> Ant from Manning: http://www.manning.com/books/hatcher
which doesn't cover Ant 1.6, it was published very close to the
release of 1.5. As Steve has hinted several times now, a s
On Wed, 18 Jan 2006, Paulo Jorge Guedes <[EMAIL PROTECTED]>
wrote:
> I use "inheritAll=false" so I have to use the -propertyfile switch
> to have properties available to all projects.
Not necessarily, you can aso explicitly list the properties you want
to have available in all projects. and ma
On Wed, 18 Jan 2006, <[EMAIL PROTECTED]> wrote:
> The scp task confiured as such :
>
> verbose="true" failonerror="true" trust="true"
> password="${pwd}">
> dir="[EMAIL PROTECTED]:/home/${user}/src/**/*"/>
>
fileset must be local, remote fileset's ar
On Wed, 18 Jan 2006, Markus Innerebner
<[EMAIL PROTECTED]> wrote:
> I want to have in my fileset only some jar files located in a
> particular folder. In my example the set should contain only that
> jar files, which are in folderA and folderB
>
> this is the directory stucture:
> ${lib.dir}
On Wed, 18 Jan 2006, Guruprasad R. <[EMAIL PROTECTED]> wrote:
> i am getting a message as "Please use the executable attribute and
> nested arg elements." how do i do this? Please help.
Take your command attribute's value and add it to prior
to the other you have, remove the command attribute c
As the documentation says, the command parameter is deprecated, the
executable parameter should be used and in NO case both of them.
I usually start batch jobs like below, I'm not sure if this is the best way,
but it works ;-)
In your case, you want to execute
I have the folllowing fragment in an ant extension
class.
String executable =3D "somebatchfile";
commandline =3D new Commandline();
commandline.setExecutable(executable)
Command c =3D new Command(commandline);
c.displayPrompt();
c.setDir(testDomain);
c.displayMake();
c.run();
Where the "somebatch
I echo the previous comment, get "Java Development With Ant". It's very
good although I found some of the sample code and explanations a bit
lacking at times.
> -Original Message-
> From: Tommy Nordgren [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 18, 2006 1:58 PM
> To: user@ant.a
On Wednesday 18 January 2006 2:06 pm, Cena, Bernard (IT) wrote:
> Is there a way to substitute what executable is used under the hood of
> task in similar fashion to executable and compiler attribute for
> ? We've found quite slow on large packages and were
> wondering if we could substitute for
Try using the --noconfig option with the ant command.
-Matt
--- Daniele Gianni <[EMAIL PROTECTED]>
wrote:
> Thanks Matt.
>
> But I have to contact the admin to solve it, I don't
> have enough right
> to do what the URL says, unfortunately.
>
>
>
> Matt Benson wrote:
>
> >See http://ant.apa
Thanks Matt.
But I have to contact the admin to solve it, I don't have enough right
to do what the URL says, unfortunately.
Matt Benson wrote:
See http://ant.apache.org/faq.html#RedHat_ES_3
--- Daniele Gianni <[EMAIL PROTECTED]>
wrote:
Thanks Keith for you message.
I checked with
We usually hype Erik and Steve's Java Development with
Ant from Manning: http://www.manning.com/books/hatcher
.
Another good reference for learning how to write Ant
tasks is Ant's own source code. Learn more here:
http://ant.apache.org/svn.html
Finally, be sure you read the information available
See http://ant.apache.org/faq.html#RedHat_ES_3
--- Daniele Gianni <[EMAIL PROTECTED]>
wrote:
> Thanks Keith for you message.
>
> I checked with the which command and I have just
> got the ant I installed.
>
> I also remember having trying typing ant in the
> shell and got the unknown co
Is there a way to substitute what executable is used under the hood of
task in similar fashion to executable and compiler attribute for
? We've found quite slow on large packages and were
wondering if we could substitute for example GNU jar which is much
faster. If not, what would be your recomm
Any good text books on ant? In particular, for ant 1.6 or later, that
includes extensive
docs on writing custom ant Tasks
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
Hello,
with
it should work.
Regards
Frank
Quoting Alan Andrade <[EMAIL PROTECTED]>:
> Hi
>
> I am using the copy task.
>
> I wasn't sure about the syntax to exclude a directory.
>
> Eg:
>
> Src
>
> |_com
>
Hi,
I use "inheritAll=false" so I have to use the -propertyfile switch to
have properties available to all projects.
The problem is that I call ant from CruiseControl and I can't use this
switch. I tried to use the "propertyfile" target but it didn't work.
Do you know any other solution?
Paulo
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Ant Users"
Sent: Wednesday, January 18, 2006 1:33 PM
Subject: SCP probleme
I have the follwoing issue.
The scp task confiured as such :
Fail and gives this :
/data/Projects/test/performance/build.xml:101: 'todir'
I have the follwoing issue.
The scp task confiured as such :
Fail and gives this :
/data/Projects/test/performance/build.xml:101: 'todir' and 'file' attributes
must have syntax like the following: user:[EMAIL PROTECTED]:/path
at org.apache.tools.ant.taskdefs.optional.
Hi
I am using the copy task.
I wasn't sure about the syntax to exclude a directory.
Eg:
Src
|_com
|_resource
I want to exclude resource directory
I wrote the task as
This doesnot seem to work.
Thanks
A
Issues with Ant on Red Hat linux have come up in the past. Please search
the archives for those discussions. Correct me if I'm wrong, but I
believe the 'which' command will show you which ant executable you
execute (first on your PATH), not all the ant executables on your PATH.
If I recall the prev
Thanks Keith for you message.
I checked with the which command and I have just got the ant I installed.
I also remember having trying typing ant in the shell and got the unknown
command error.
Actually I tried to include the jar in the CLASSPATH env var but it didn't
work as well.
Did you install Ant 1.6.5 yourself? This sounds like there may be
multiple Ant installations - for example, one might be packaged with
RedHat by default.
Trying something like "which ant" might give you some help.
FYI, in Ant 1.6 the Launcher class it's complaining about is in
ANT_HOME/lib/ant-la
Hi all,
I'm trying to instal Ant 1.6.5 under Red Hat, I have set all the env variable
required but I can't still run ant.
Actually I can run
ant -version
but when I try with
ant -diagnostics or just ant
I have to the following message from the shell
ant -diagnost
Even better than "even better than that", DAO interfaces implemented ala
Spring JDBC. Skip EJB all together! ;) Now I'm gonna leave this alone at the
risk of being way off topic and starting a religous debate.
---
Clifton C. Craig, Software En
On Wednesday 18 January 2006 9:16 am, Markus Innerebner wrote:
> Hi
>
> >
> >
> >
> >
>
> also your approach does not work in my example.
> Did you try it out?
>
> markus
>
> -
> To unsubscribe, e-mail: [EMAIL P
A more flexible solution may be:
You can define the property "myincludes" in a property file alternatively.
Regards,
Frank
Quoting Markus Innerebner <[EMAIL PROTECTED]>:
> I realized my problem:
>
> the jars where not in the subfolder, but in the subsubfolder.
> with this settings
>
>
Clifton Craig wrote:
Even better than that, you don't need or . Use instead!
better yet, hibernate3.1+ejb3 annotations :)
,
-steve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
I realized my problem:
the jars where not in the subfolder, but in the subsubfolder.
with this settings
the example work.
thanks for your help.
Markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
On Wed, 2006-01-18 at 15:16 +0100, Frank Harnack wrote:
> With
>
>
>
>
>
>
> jar files in subfolders of folderC are excluded too.
>
> And if folderC is at top level in folder ${lib.dir}
>
> this would be better
>
>
>
>
>
>
Hi Frank
I know this, but
Hi
>
>
>
>
also your approach does not work in my example.
Did you try it out?
markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
With
jar files in subfolders of folderC are excluded too.
And if folderC is at top level in folder ${lib.dir}
this would be better
Regards,
Frank
Quoting Clifton Craig <[EMAIL PROTECTED]>:
> On Wednesday 18 January 2006 8:57 am, RADEMAKERS Tanguy
>This is that, what I do not want to do, because I don't know from begin
>which folders should be excluded. I only know which folder should be
>included.
then use Clifton Craig's solution of only listing the folders you want
to include - in this case, folderA and folderB. No matter how many more
f
On Wed, 2006-01-18 at 14:57 +0100, RADEMAKERS Tanguy wrote:
> >-Original Message-
> >My intention is to include all jars in folderA and folderB, ecluding
> >jars in folderC.
>
> how about this:
>
>
>
>
>
>
> that should be all jars anywhere except those in folderC
>
Even better than that, you don't need or . Use instead!
---
Clifton C. Craig, Software Engineer
Intelligent Computer Systems - A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]
On Wednesday 18 January 2006 7:59 am, Jeffrey E Care wrote:
> You
On Wednesday 18 January 2006 8:57 am, RADEMAKERS Tanguy wrote:
> >-Original Message-
> >My intention is to include all jars in folderA and folderB, ecluding
> >jars in folderC.
>
> how about this:
>
>
>
>
>
>
> that should be all jars anywhere except those in folderC
>
>
On Wednesday 18 January 2006 8:37 am, Markus Innerebner wrote:
> I wrote wrong something:
>
> this is the right one
>
>
>
>
>
> Markus
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands,
>-Original Message-
>My intention is to include all jars in folderA and folderB, ecluding
>jars in folderC.
how about this:
that should be all jars anywhere except those in folderC
/t
-
To unsubscr
In my second mail I wrote the right example.
My intention is to include all jars in folderA and folderB, ecluding
jars in folderC.
regards Markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I think you need to make the second one an include instead of an
exclude. you state in your question that you want to include both
folderA and folderB but you exclude folderB Then it looks like it should
work to me. Like this
Markus Innerebner wrote:
I want to have i
I wrote wrong something:
this is the right one
Markus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I want to have in my fileset only some jar files located in a particular
folder. In my example the set should contain only that jar files, which
are in folderA and folderB
this is the directory stucture:
${lib.dir} - folderA
I--- folderB
I--- folderC
You don't need - use instead.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Guruprasad R <[EMAIL PROTECTED]> wrote on 01/18/2006 07:40:44 AM:
> I am using ant on my Windows 2000 OS. I want to execute a command "java
> weblo
Guru,
Try this
-Original Message-
From: Guruprasad R [mailto:[EMAIL PROTECTED]
Sent: 18 January 2006 12:41
To: Ant Users List
Subject: command execution
I am using ant on my Windows 2000 OS. I want to execute a command "java
weblogic.ejbc npacejb.jar" from a particul
I am using ant on my Windows 2000 OS. I want to execute a command "java
weblogic.ejbc npacejb.jar" from a particular directory in the command prompt
using ANT. i have written the script as below. I am not sure whether i have
written the script properly.
i am getting a message as "Plea
47 matches
Mail list logo