Unfortunately 'description' attribute does not allow usage of properties
like ${line.separator}. However, ant files are XML files.
So you can use XML character escapes and parser will put correct
character for you.
For example:
is a new line character. You can add
if you want return
charact
Hi
In using -projecthelp with ant on Win XP, I found that the description
column isn't too friendly with displaying a long description.
In the display I got,
C:ant -buildfile auto_perform_draft.xml -projecthelp
Buildfile: auto_perform_draft.xml
Main targets:
display_usage_message This target di
I do not think you want to set this information into a java class, but
into your final jar file using manifest file.
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html
Hope it helps,
Dmitri.
Frederich, Eric P21322 wrote:
Hello,
Is there an easy way to set final Java Strings at compile tim
Sorry that's not completely right...
I mean
Scot P. Floess wrote:
Eric:
Unfortunately, you are compiling a static final String :(
Perhaps a properties file distributed with your app could hold the
String instead?
I wasn't proposing copying, replacing and then copying back... What I
mea
Eric:
Unfortunately, you are compiling a static final String :(
Perhaps a properties file distributed with your app could hold the
String instead?
I wasn't proposing copying, replacing and then copying back... What I
meant was this:
I assume your source code is checked into some source co
Thanks for the reply and a possible solution but this seems more like a
hack.
Yeah, right now I have something like
Public static final String programName = "Java Program XYZ";
I'd like to be able to make one where that string is "Java Program XYZ -
Development Version" automagically using ant.
If
Eric:
You mention "final Java Strings at compile time"...
Are you referring to actual Java as in:
public static final String FOO = "some text";
If so, you may want to look into the task...
You could do something as simple as:
public class Main
{
public static final String FOO = "%PROJE
Hi Doug
regsvr32 sqljdbc_auth.dll
OR
place the folder location on PATH
HTH/
M--
- Original Message -
Wrom: TTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJ
To: "Ant Users List"
Sent: Monday, December 10, 2007 12:25 PM
Subject: Load a dll
> I'm trying to run some junit tests through ant and keep get
Hello,
Is there an easy way to set final Java Strings at compile time?
I know you can set properties at runtime with -Dproperty=value but could
I do this at compile time?
What I want to do is have one target which makes a program called "Java
Program XYZ - production" and another which is called "
I'm trying to run some junit tests through ant and keep getting
[junit] - ---
[junit] - Standard Error -
[junit] Dec 10, 2007 9:58:31 AM
com.microsoft.sqlserver.jdbc.AuthenticationJNI
[junit] WARNING: Failed to load the sqljdb
Ravi Roy wrote:
Hi Steve,
Build was started and I run Jconsole and at the time when Heap space problem
occurred following is the jconsole output :
Regards,
Ravi
VM Summary
Monday, December 10, 2007 5:44:00 PM CET
--
Connection name:
pid: 860 sun.tools.
Hi Steve,
Build was started and I run Jconsole and at the time when Heap space problem
occurred following is the jconsole output :
Regards,
Ravi
VM Summary
Monday, December 10, 2007 5:44:00 PM CET
--
Connection name:
pid: 860 sun.tools.jconsole.JConsole
Martin Gainty wrote:
Hi Ravi
This is what I configure to enable increased min/max heap
(Note the collection of unused PermGen parameters)
-Xmx512m -XX:MaxPermSize=512m -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -X
X:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
that permgen thing i
Thanks Steve,
I am using Ant-contrib-b03 for some repeated operations and Emma ant task
for getting code coverage, no other third party libs.
Junit is always forked while I run my junit tests.
I would run jconsole and let you know the results.
Thanks
Ravi.
-Original Message-
From: Steve
Hi Ravi
This is what I configure to enable increased min/max heap
(Note the collection of unused PermGen parameters)
-Xmx512m -XX:MaxPermSize=512m -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -X
X:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled
HTH
M-
- Original Message -
From: "R
have you tried to fork and specify the memoryInitialSize and memoryMaximumSize?
you should try with another compiler if you were using Sun Javac, try jikes or
even better eclipse compiler (org.eclipse.jdt.core.JDTCompilerAdapter)
my 2cts...
-Original Message-
From: Ravi Roy [mailto:[
Ravi Roy wrote:
Hello all,
I am running my product build with cruisecontrol using ant 1.7.0. I have set
ANT_OPTS=-Xms=1536m -Xmx1536m, but still I am getting below mentioned error,
I have searched mail archive, but I see ANT_OPTS settings, which I have
already set, I get the following error :
Hello all,
I am running my product build with cruisecontrol using ant 1.7.0. I have set
ANT_OPTS=-Xms=1536m -Xmx1536m, but still I am getting below mentioned error,
I have searched mail archive, but I see ANT_OPTS settings, which I have
already set, I get the following error :
[javac] The sys
I often use google search code : here is a search for ssh task within build.xml
file.
http://www.google.com/codesearch?hl=fr&lr=&q=ssh+file%3Abuild.xml&btnG=Rechercher
regards,
-Original Message-
From: Z W [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 10:55 AM
To: user@a
Thank you Dmitri,
it works great.
Ingo
Dmitri Farafonov schrieb:
Couple ways:
First use patternset
http://ant.apache.org/manual/CoreTypes/patternset.html
And reuse the pattern:
Second create includes/excludes files:
And use includesfile and excludesfile attributes
http://an
http://ant.apache.org/manual/OptionalTasks/scp.html
Jan
> -Ursprüngliche Nachricht-
> Von: Z W [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 10. Dezember 2007 10:55
> An: user@ant.apache.org
> Betreff: download a set of using ssh example ?
>
> Hi
>
> Could someone share a code example
Hi
Could someone share a code example using ssh in ant to download a set of
files from a remote server ?
I could only find examples of uploading files to a remote server using ssh
in ant.
Thank you.
delete:
create:
or:
Hello Jim!
Best regards,
Chris
bsbiran wrote:
Hello,
Can someone please help me. I need to create a file jim.txt
1) Delete jim.txt
2) create jim.txt
Please help
BS.
-
To unsubscribe, e-mail: [EMAIL
23 matches
Mail list logo