Yes, I opted for the regexmapper.
Thanks for the response!
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 12:22 AM
To: user@ant.apache.org
Subject: Re: help with copy and glob mapper
On Tue, 13 Dec 2005, EJ Ciramella [EMAIL
This:
mapper type=glob from=**/template-* to=**/*/
Wouldn't match some template file at the base of the directory.
This is my final solution:
copy todir=${jboss.email.daemon.server.config.dir} overwrite=true
fileset dir=${base.templates.file.src.dir}/templates/fo/email
Obviously I'm after a pure-Java implementation so that I don't have to worry
about cross-platform issues, otherwise I'd just exec a resident native
binary pre-processor.
I have played with replicating a C-preprocessor in pure Java, and
although I have the basics working, I doubt my experiment
Shinde, Vijay wrote:
I was trying following command
sshexec host=servername
username=antuser
password=Password1
command=NET STOP IIS Admin Service /
It Is throwing connection refused error.
better run SSH then, hadnt you?
Connection refused means there is nothing
Jonnalagadda, Sumithra wrote:
One of the main benefits of jsp that it can be updated dynamically by which
I mean when a jsp is updated the application need not be re-deployed since
jsp is complied run time.
no, that is only a benefit at dev time. bad things can happen with
partial hot
Michael Silverman wrote:
Actually, Ant runs a task that launches a java app which loads a DLL which
itself loads more DLL's
The first DLL load is not a problem (I'm just passing java.library.path to
the JVM) but when that DLL tries to loads the other DLL's, it searches them
in the windows
Hi all,
I'd like to know how to get the result of target execution.
Is it possible to do something if the target successfully done, and do
any other thing if the target failed?
Best regards,
Leon
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has
If a task fails it breaks the execution of the build.
Final result is a Build successful or Build failed which results in a
return value from 0 or non-zero.
Jan
-Ursprüngliche Nachricht-
Von: Leon Pu [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. Dezember 2005 13:44
An: Ant Usenet
OK, here's my current target from build.xml:
target name=apidocs depends=test
description=document
javadoc
packagenames=heavyweight.gui.*,heavyweight.io.*,heavyweight.re.*,heavyweight.util.*
sourcepath=${src}
defaultexcludes=yes
destdir=docs/api
Thanks Stefan, this worked well.
Also, I found a good note on classpath issues:
Using_CLASSPATH_and_Other_APIs.doc, which can be googled on the web.
Regards,
Nikhil
- Original Message -
From: Stefan Bodewig [EMAIL PROTECTED]
To: user@ant.apache.org
Sent: Wednesday, December 14, 2005
Hi everyone,
I know that properties can't be used
as variables. However I'm trying to
implement something where I would like
to have a behaviour similar to that.
For example, let's imagine for a second
that properties aren't immutable, and
create the following macro
macrodef mymacro=name
Hello,
try using variable from ant contrib.
Best regards
Ondrej Svetlik
[EMAIL PROTECTED] wrote:
Hi everyone,
I know that properties can't be used
as variables. However I'm trying to
implement something where I would like
to have a behaviour similar to that.
For example, let's imagine for
Hello,
Thanks for the information!
That's exactly what I need.
Regards,
Paulo
-Original Message-
From: ext Ondrej Svetlik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 16:07
To: Ant Users List
Subject: Re: Using properties like variables
Hello,
try using variable
There has been a fair amount of discussion on the developer list about
providing scoped properties for macrodefs, but I'm not sure where we are
on that.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
[EMAIL PROTECTED] wrote
On Wed, 14 Dec 2005, Thom Hehl [EMAIL PROTECTED] wrote:
apidocs:
[javadoc] scanning C:\src\heavyweight for packages.
It should be scanning C:\src, not C:\src\heavyweight since heavyweight
is your top level package in the source tree. At least the directory
structure in your other response
Thanks!
Changed to:
javadoc packagenames=gui.*,io.*,re.*,util.*
and that seems to have fixed the problem.
Stefan Bodewig wrote:
On Wed, 14 Dec 2005, Thom Hehl [EMAIL PROTECTED] wrote:
apidocs:
[javadoc] scanning C:\src\heavyweight for packages.
It should be scanning C:\src,
I am invoking Sun AppServer's asadmin.bat from my ant script to start up
the application server. When I type the command from the command line,
it works fine (asadmin start-domain domain1). When the same line is
invoked from my ant task, the server comes up, but the ant script never
moves on to
Can you provide the exact exec text you are using...
If you are execing a process (via the exec task) ANT will normally wait
until the process exits before proceeding to the next step (to capture output,
return value, logs, etc...). If you do not want the ANT script to wait for the
process
I downloaded the required jarfile from ant site for ftp task . I get the
following error.
C:\antscriptsant -verbose -f generalftp.xml
Apache Ant version 1.6.2 compiled on August 5 2004
Buildfile: generalftp.xml
Detected Java version: 1.5 in: C:\bea9\JROCKI~1\jre
Detected OS: Windows XP
Can you provide the exact exec text you are using...
I am going to pretty this up when I get it working, but here goes:
target name=startServer
exec dir=d:\opt2\sun\appserver\bin executable=asadmin.bat
inputstring=start-domain domain1/
/target
you need set the spawn=true
I have
Hello,
Are you aure you have ftp server up and running on
10.187.218.183? Can you access the ftp server using
ordinary command line client like
C:\ ftp 10.187.218.183
Regards
Ivan
--- [EMAIL PROTECTED] wrote:
I downloaded the required jarfile from ant site for
ftp task . I get the
I am trying from my laptop to my desktop. Eventually I have to move
files from one windows box to multiple windows boxes.
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 6:14 PM
To: Ant Users List
Subject: Re: Urgent help with FTP
Hello
--- [EMAIL PROTECTED] wrote:
I am trying from my laptop to my desktop.
Fine, but is there a running ftp server on your
desktop?
Regards
Ivan
-Original Message-
From: Ivan Ivanov
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 6:14 PM
To: Ant Users List
I am not a windows guy ...How to check if the ftp server is running or
how to start it ? I did from my laptop the following
C:\antscriptsftp 10.187.218.183
ftp: connect :Unknown error number
ftp exit
Invalid command.
ftp quit
I am using windows xp sp1
Thanks
srikrishna
-Original
Why not to use copy with UNC paths?
- Alexey.
[EMAIL PROTECTED] wrote:
I am trying from my laptop to my desktop. Eventually I have to move
files from one windows box to multiple windows boxes.
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December
No offlist emails, please.
See google for ftp servers on windows [1].
Microsoft FTP server is part of their IIS. Also they
say WS_FTP is a nice ftp server.
Regards
Ivan
[1]http://www.google.com/search?hl=enlr=q=%22ftp+sever%22+windowsbtnG=Search
--- [EMAIL PROTECTED] wrote:
Do you know on
--- [EMAIL PROTECTED] wrote:
I am not a windows guy ...How to check if the ftp
server is running or
how to start it ? I did from my laptop the following
C:\antscriptsftp 10.187.218.183
ftp: connect :Unknown error number
Seems that there is no ftp daeamon running on your
desktop. You
Thanks for your email
I am using ant 1.6.5 . For ftp what jar file you have to download and
put in ant lib directory? It used to be netcommons.jar...I don't see
that now.
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 14, 2005 6:59 PM
To:
Hello
--- [EMAIL PROTECTED] wrote:
Thanks for your email
I am using ant 1.6.5.
I am not sure you are using ant 1.6.5. From your first
message I see:
C:\antscriptsant -verbose -f generalftp.xml
Apache Ant version 1.6.2 compiled on August 5 2004
^^
Here it says
Hello Ivan
It is working now from laptop to unix box .I needed two jar files.
Jakar-oro file and commons-net file . I would install ftp server on my
desktop as per your suggestion and make that also work.
Thanks
srikrishna
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Hello Tony,
the document called Installing Ant
http://ant.apache.org/manual/install.html#buildingant says this :
Make sure you have downloaded any auxiliary jars required to build
tasks you are interested in.
These should either be available on the CLASSPATH or added to the |lib|
directory. See
31 matches
Mail list logo