RE: Ant Deploy failure in weblogic 8.1

2005-12-29 Thread Bedre Atmaling Baburao
Hi, Just go through this link, it will tells all about deployment using wldeploy. http://e-docs.bea.com/wls/docs90/programming/wldeploy.html#1000477 I have use this undeploy and deploy target mentioned in above link. Currently i am running five different servers on d

Re: echoproperties and umlauts

2005-12-29 Thread Jeffrey E Care
I don't know what it will do to the line breaks, but you could maybe run a reverse native2ascii on the output file to "unescape" it. JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Steve Loughran <[EMAIL PROTECTED]> wrote o

Re: echoproperties and umlauts

2005-12-29 Thread Steve Loughran
Rebhan, Gilbert wrote: addition if i use = all works fine with linefeeds and umlauts, but i need it as "normal" propertyfile Ant uses the java APIs to export a "normal" property file, meaning one that is legal according to the java properties spec. The escaping and line breaks are part o

RE: for-each Task

2005-12-29 Thread Bill Rich
IMHO, procedural tasks do not belong in Ant. Ant is a rules driven system. Yes, I have used the procedural tasks from Ant Contrib and yes, I think they are useful. But, they don't belong in Ant core. I always try to implement the Ant file in pure Ant first, and, only as a last resort do I use the

Re: getProject() returns null

2005-12-29 Thread Mark Russell
thanks that helped allot Darin Swanson wrote: See Eclipse bug 34466 comment #7 or see the Eclipse Readme the Platform - Ant section or the Eclipse help: http://help.eclipse.org/help31/index.jsp ?topic=/org.eclipse.platform.doc.isv/guide/ant_contributing_task.htm "Important rules..." section

Re: taskdef classpath problem

2005-12-29 Thread Gunnar Sigurdsson
I am not loading the resources directly, that happens as a side effect of GenDDL using a class from one of these other jars. The full details are like this. Lets say GenDDL.class is in GenDDL.jar, and GenDDL.class calls a class Context.class which is in Context.jar, and that same jar contains a te

RE: Debug javac task

2005-12-29 Thread Bill Rich
Only a guess, but it looks like the class files for each of the compile targets go in the same directory. Javac will use that directory to resolve class files it needs as well as the classpath. HTH Bill -Original Message- From: Barak Yaish [mailto:[EMAIL PROTECTED] Sent: Thursday, Decem

RE: using buildnumber effectively

2005-12-29 Thread Ferrer, Eric
PropertiesFactory is going through some refactoring to support i18n and to allow for a more database/persistence layer driven forms and labels (Hibernate migration). Basically its does 3 things a) On first load, it talks to a singleton class that gets initialize at startup and reads in all config

RE: echoproperties and umlauts

2005-12-29 Thread Rebhan, Gilbert
addition if i use = all works fine with linefeeds and umlauts, but i need it as "normal" propertyfile Regards, Gilbert -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 5:16 PM To: user@ant.apache.org Subject: echoproperties and um

Re: UTF-8 text in a propertyfile?

2005-12-29 Thread Stefan Bodewig
On Wed, 28 Dec 2005, Steven Anderson <[EMAIL PROTECTED]> wrote: > If I specify the property on the command-line (in Windows XP), or > via a UTF-8 encoded property file, the characters are not longer > UTF-8 (I think they have been turned into ASCII characters). Probably because the Java VM assume

Re: UPTODATE file-by-file on 2 directories ?

2005-12-29 Thread Stefan Bodewig
On Thu, 29 Dec 2005, Elijah Baley <[EMAIL PROTECTED]> wrote: > check that file "a/b/c/foo.x" is uptodate when compared with > file "a/b/c/foo.y" for EACH file/sub-folder - in other words, > assume that source and target folders have same structure > (sub-folders, files, etc.) - exc

echoproperties and umlauts

2005-12-29 Thread Rebhan, Gilbert
Hi, i'm dumping a xmlproperty file to a file = Problems = 1. the xmlproperty file contains a multilineproperty that contains german umlauts (ä,ü,ö and ß) Now the textfile contains, i.e \u00DF instead of ß \u00FC instead of ü and so on 2. the linefeeds of the multilineproperty appear as

RE: UTF-8 text in a propertyfile?

2005-12-29 Thread Steven Anderson
I'm not using loadproperties, I'm loading the properties file from the commandline (ant -propertyfile ja_build.properties). Steve -Original Message- From: James Fuller [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 4:09 AM To: Ant Users List Subject: Re: UTF-8 text i

Re: taskdef classpath problem

2005-12-29 Thread Stefan Bodewig
On Wed, 28 Dec 2005, Gunnar Sigurdsson <[EMAIL PROTECTED]> wrote: > The GenDDL class depends on other jar files that are in the same > "lib" directory. When the "ddl" target is executed, ant finds the > GenDDL class and executes it, but it does not find resources in the > other jar files. How

UPTODATE file-by-file on 2 directories ?

2005-12-29 Thread Elijah Baley
Hi - I suspect I ask something rather simple, but I am looking to use the UPTODATE task to check files in 2 directories as follows: check that file "a/b/c/foo.x" is uptodate when compared with file "a/b/c/foo.y" for EACH file/sub-folder - in other words, assume that source and target f

Debug javac task

2005-12-29 Thread Barak Yaish
Hi, I've a javac target which behave strange. It seems compiling successfully code modules, which contains imports statements to files not found in the classpath. Here are some snippets:

Re: problem with java task attribute jvmarg when value is ""

2005-12-29 Thread Frederic Chalons
Steve Loughran wrote: Frederic Chalons wrote: Hi, My problem involved the attribute jvmarg set to a property which value is ""... Using Ant 1.6.4, I am using the java task to launch various process: // // // // //

RE: MULTI DEPLOYMENT

2005-12-29 Thread Karthik
Hi Form To be more specific about the Argument. >>It depends on the nature of your deployment problem. The nature of the hindrance is applying patches/rollback version's of bulk is time consuming. So have to automise the task of applying patches/rollback version's. and can be a

Re: problem with java task attribute jvmarg when value is ""

2005-12-29 Thread Steve Loughran
Frederic Chalons wrote: Hi, My problem involved the attribute jvmarg set to a property which value is ""... Using Ant 1.6.4, I am using the java task to launch various process: // // // // // // For each class

problem with java task attribute jvmarg when value is ""

2005-12-29 Thread Frederic Chalons
Hi, My problem involved the attribute jvmarg set to a property which value is ""... Using Ant 1.6.4, I am using the java task to launch various process: // // // // // // For each class the properties (arg1, ar

Re: UTF-8 text in a propertyfile?

2005-12-29 Thread James Fuller
Steven Anderson wrote: >I'm trying to pass a string of UTF-8 (Japanese) characters via a >property to an xslt task in ant. > >If I set the property in the buildfile, with encoding="UTF-8", >everything works fine. If I specify the property on the command-line >(in Windows XP), or via a UTF-8 enc

RE: Ant Deploy failure in weblogic 8.1

2005-12-29 Thread Bedre Atmaling Baburao
Hi, Thanks to Srikrishna. As you suggest the wldeploy task. This wldeploy task works fine. There I have to just specify the location of ear and adminurl. Bedre -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 8:48 PM To