Re: Some thing seriously missing.. need help

2009-12-31 Thread supareno
Raja, i tested it with a 1.7.0 ant version with this test file and everything is working i didn't try with a previous ant version. Could you try this and tell us if it is working? Regards, supareno Hi, We have a small

Re: making Sphinx4 apps with Ant

2009-12-07 Thread supareno
johnyjj2, May I have your answer, please? yes you can have an answer but you have to be patient. We are not working for you :-) So, i read what you posted (and sorry i don't speak polish so i didn't understand the second link!) in your third link, you write: "And what I'd like to do is to

Re: making Sphinx4 apps with Ant

2009-11-29 Thread supareno
johnyjj2 a écrit : Can anybody help me, please? did you try this: http://sourceforge.net/projects/cmusphinx/forums ? S. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@a

Re: Slash issue in ANT script

2009-11-27 Thread supareno
hudson, hi, My script should work both in Unix and winddows, I don't know how to handle slash (\) in ANT script in this case. Could some one please help me. For example, how to make below path as a valid path both in windows and unix, which has both back slash & forward slash C:\Release\work

Re: How to specify xml configuration file from Ant Task

2009-10-05 Thread supareno
not4google, for me the file is not in the classpath... 2 possibilities: 1) adding it the classpath (after copying it to the lib folder) 2) adding the xml file to the jar (copying it the build/classes folder) after that, it may work ! hope this help supareno Hi here are some more details

Re: How to specify xml configuration file from Ant Task

2009-10-02 Thread supareno
program? if you don't give us more clues, we can't help you :-) supareno - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Setting ant property with bash command result

2009-09-28 Thread supareno
command as property for src i tried with this build file and it works ;-) simple example build file launched with xargs the property send to the build file is: ${src} more links on xargs: http://sidvind.com/wiki/Xargs_by_example http://en.wikipedia.org/wiki/Xarg

Re: Why Ant didn't compile my jsp's

2009-09-20 Thread supareno
supareno Hello everyone: I’m learning the Struts framework and in my first Web Application, that contains only a JSP with the classic Hello World! Message, I have some problems. I’m using Windows XP SP2 as the OS. Apache Tomcat 5.5 as the web server. Ant 1.7.1 and Java 1.6 SDK. In my first

Re: How To: Java Command to Ant

2009-09-18 Thread supareno
dr_pompeii, you should try this: [...] [...] (see http://ant.apache.org/manual/CoreTasks/java.html and http://ant.apache.org/manual/using.html#arg) i did it tonight on my linux box with a jdk6 and it works well :-) hope this help supareno Dear Members I have this java

Re: How to specify other JUnitTestRunner in junit task

2009-09-17 Thread supareno
Gao, have you tried the @RunWith annotation? since junit 4.x http://www.jdocs.com/junit/4.1/org/junit/runner/RunWith.html supareno Hi: Is it possible to specify own JUnitTestRunner instead of org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner in JunitTask ? If possible, in which

Re: Exceptions while executing JUnit

2009-09-08 Thread supareno
Kamesh, are you sure that your xml file is in the classpath? the xml file MUST be in the classpath. To achieve this goal, you should add it in your classapth definition like this: hope this help :-) supareno Hi All, I'm trying to execute certain test cases as a part

Re: access cvs with ssh in windows

2009-09-07 Thread supareno
Júlio, you can install cygwin: http://www.cygwin.com/ it will emulate ssh supareno Hello I am trying t access a cvs server from a ant task (running in a Windows system)..When a test in a Linux system everything goes right..but in windows the task doesnot conect in the cvs server.. the output

Re: Copy arbitrary files into jar (generation)

2009-08-14 Thread supareno
lobesquare, why the sources files in the jar why don't you try to do a zip ou tar.gz file with the sources files and the jar ? it could be easier... Hello, i am quite new to ant and would like to modify a generated ant file from eclipse in that way that certain files are copied into the crea

Re: Java in JDK but ANT can't find it!

2009-05-18 Thread supareno
at it cannot come from the tool (ant) it may come from the os and the java version if you can, try to install a RedHat or an Ubuntu, compile a jdk 6 and tell us if it is working... supareno Hey Derek, I tried to do what you did, but I still get the error.. I added the ACL to my code and tools/j

Re: Java in JDK but ANT can't find it!

2009-05-16 Thread supareno
David , are you using an IDE to run this simple code or are you using the command line? is the 'ant' command line tool is working properly in a terminal? supareno Hey all, Well, I did some testing, and I tried to run this simples Java code: public static void main(S

Re: JUnit and summaries?

2009-04-11 Thread supareno
Francis, junitreport merges the xml generated by the junit task so why don't you parse the xml files generated by the junitreport task to find the things that you want? Le Friday 10 April 2009 21:33:05 supareno, vous avez écrit : Francis, have a look at http://ant.apache.org/m

Re: JUnit and summaries?

2009-04-10 Thread supareno
Francis, have a look at http://ant.apache.org/manual/OptionalTasks/junitreport.html html reports are great! regards supareno Hello, We use ant's task, and we would like to know, at the end of the run: * how many tests were run, * how many have succeeded, * how many have failed,

Re: How to access value of propertyfile command line inside script

2009-04-06 Thread supareno
with ${prop1} $[prop2} your new target will look like this: [...] property file name: ${user.property.file} ${prop1} and ${prop2} [..] hope this help regards supareno When I run ant as follows: ant -propertyfile e.g. ant -propertyfile myProps.properties test how do I

tomcat task under https

2009-03-24 Thread supareno
https? regards supareno - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Ant recursive copy + fileset filter

2009-02-16 Thread supareno
rything works well there is something in the build that copy the java files... can you send us the complete build file (if it is not huge ;-) ) are you sure that "${project.build.outputDirectory}" is empty when the build is launch??? regards supar

Re: Ant Difference of Two Relative Paths?

2009-01-06 Thread supareno
se.css created file: myconcatenatedfile.css can you put the new file in the new project structure css folder? (see below the structure) ... css/ - myconcatenatedfile.css images/ - image.gif ... is it possible? supareno

Re: Can I rename a file when jarring it?

2008-10-24 Thread supareno
Hendrik Maryns a écrit : supareno schreef: Hendrik , check out this: http://ant.apache.org/manual/CoreTypes/mapper.html#identity-mapper and this: http://ant.apache.org/manual/CoreTasks/copy.html "[...] *Copy a set of files to a directory, appending |.bak| to the file name on th

Re: Can I rename a file when jarring it?

2008-10-22 Thread supareno
Hendrik , check out this: http://ant.apache.org/manual/CoreTypes/mapper.html#identity-mapper and this: http://ant.apache.org/manual/CoreTasks/copy.html "[...] *Copy a set of files to a directory, appending |.bak| to the file name on the fly* [...]" Hi, I create a jar with some

Re: How to add reference to jar files

2008-10-14 Thread supareno
antnewbie, you can try this: [...] [...] [...] check out this : http://ant.apache.org/manual/using.html#references hope this help Hi, I am a newbie with ant. My application uses about 10 jar files.Now, to compile with ant, I would need to add reference to these jar files.How ca

Re: Packaging war

2008-10-02 Thread supareno
'env' and after, the build process uses the ${env} property for example, you can define a log4j file for each env and put a log4j file in the different 'env' folders in the config folder in your build.xml, the property of the log4j file will be: etc... hope this help! supar

Re: How to set an Ant task attribute with type of string array

2008-09-28 Thread supareno
what you wanna do? it may exist an other way to do what you wanna do :-) for example, adding a new jar to your classpath??? There is an Ant task, where it has this method: public String[] getExtraClasses() public void setExtraClasses(String[] extraClasses) How do I set these extra classes? Th

Re: Add yourself to mobchannel.com

2008-08-21 Thread supareno
Arun a écrit : Guys, I am running the site (mobchannel.com) which aggregates all the blogs in www. It does a clean update of all blogs on a per day basis and categorizes them in so many ways This is the one BIG site which can give you much more capabilities in the near future. If you find the s

Re: How to get project,target name?

2008-08-18 Thread supareno
this link: http://ant.apache.org/manual/using.html#built-in-props supareno I may be wrong, but i think i rememer seeing some doc, which has all the ant implemented inter properties, anyone has any idea? where is it? or how these type of properties we can get Thanks in advance

Re: How to call Ant scripts from Maven scripts the right way?

2008-07-31 Thread supareno
it is the right way :-) How can I start Ant scripts from withing Maven scripts? I tried But it had problems with the relative path names and properties then. for the properties, if you have some properties to define from maven to ant, you can use this example:

Re: javadoc from class or jar files?

2008-07-31 Thread supareno
sorry for the last mail, it was an error ;-( so, the stuff that i would to say is that, most of the time, decompiling classes does not generate javadoc... you must have the source of each jar to generate javadoc or download the javadoc of each project ... hope this help supareno Can I

Re: javadoc from class or jar files?

2008-07-31 Thread supareno
0mindspin311 a écrit : Can I create documentation from class or jar files? I tried both. Putting a list of jars in the classpath, and unjarring and putting the class files themselves as the classpath. Both times I was including actual source I was building too, but want to generate documentation

Re: newbie question regarding setting environment variables

2008-07-04 Thread supareno
ur bashrc file ... PATH=//bin:$PATH JAVA_HOME=// JDK_HOME=// export PATH export JAVA_HOME export JDK_HOME save your changes [ + : + w + q ] in the vi editor reload your bashrc file (not sure that is useful) source ~/.bashrc try echo $JAVA_HOME you must see // and after try ant -diagnostics

Re: removing and installing application gives exception

2008-07-04 Thread supareno
/apache/catalina/ant/RemoveTask.html hope this help supareno Hi, i got the follow exception when using this code. path="/${warname}" war=&quo

Re: ant home path

2008-07-03 Thread supareno
have you try with the ${warname} for the war param... you don't have to write 'file:.\' this example works well hope this help supareno sandyg a écrit : Hi, please can u help me. I am using ant install to install my project in to server with

Re: JUnit task

2008-06-11 Thread supareno
check out this... http://www.google.fr/search?source=ig&hl=en&rlz=&=&q=junit+and+ant+tutorials Hello everyone, I'm struggling to understand the junit task. I was wondering if anyone knew of a good tutorial or article that is current (junit 4, ant 1.7) that is perhaps slightly better than the ju

Re: calling ant from java

2008-06-06 Thread supareno
which version of java ant ant (jars) are you using?? maybe that your ant jar version are not compatible with the import task :-) check out this link to see how to use import http://ant.apache.org/faq.html#xml-entity-include hope this help... supareno Hi, I am calling ant from java code

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread supareno
that i did the test with ant 1.7 :-) On Fri, Apr 11, 2008 at 12:09 PM, Kathryn Rivard <[EMAIL PROTECTED]> wrote: On Fri, Apr 11, 2008 at 11:59 AM, supareno <[EMAIL PROTECTED]> wrote: my question is: if you use 'ant deploy' in a terminal, do you always have the

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread supareno
an exception because *catalina-ant.jar* is in the path... my question is: if you use 'ant deploy' in a terminal, do you always have the exception?? regards supareno On Fri, Apr 11, 2008 at 10:24 AM, supareno <[EMAIL PROTECTED]> wrote: Kathryn Rivard a écrit : I'm ha

Re: taskdef not receiving the classpath properly?

2008-04-11 Thread supareno
i don't why your build does not work but i know that this one is working.. hope this help regards supareno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with verbose attribute of axis-wsdl2java tag

2008-04-11 Thread supareno
Luiz Barbosa a écrit : Hi Supareno, Thank you for your answer! Yes, that's the problem. I put axis-ant.jar and axis.jar, but now I have another problem. One of the operations in my WSDL is the following: And, when the script cross through the line of verbose

Re: Problem with verbose attribute of axis-wsdl2java tag

2008-04-11 Thread supareno
d ant does not know this task... regards supareno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: launching cmd from ANt

2008-04-02 Thread supareno
Hello, why don't you use the Weblogic ant tasks? you can check out this: http://edocs.bea.com/wls/docs81/toolstable/ToolsTable.html#1009580 and this: http://photos.sys-con.com/story/res/48932/source.html Hello, How I can from an ant script running an independant dos command?

Re: Invoking Ant with Runtime.exec()

2008-03-25 Thread supareno
raju, it is more a java question than ant question you could googling on 'using runtime exec ant bat' and 'runtime exec and parameters'... supareno Hi, i have a file called test.bat within which i have ant command: test.bat: - echo %foo% help echo %ID% help ant

Re: xslt out of memory

2008-03-20 Thread supareno
Hi supareno Thanks for responding. 2K is the size. I suspect it's to do with some math calculation that tripped it. yeah, it could come from your algorithm any infinite loop? On Thu, Mar 20, 2008 at 1:15 PM, supareno <[EMAIL PROTECTED]> wrote: what is the size of the xs

Re: xslt out of memory

2008-03-20 Thread supareno
what is the size of the xsl file ?? i know that huge file causes out of memory exception !! check out htis: http://www.velocityreviews.com/forums/t170526-huge-xml-files-xslt-memory-problems-java-amp-sax.html it could be related to your problems regards supareno Hi Is there a workaround to

Re: exclude a loaded class from the classpath

2008-03-02 Thread supareno
Garrett Smith a écrit : On Sun, Mar 2, 2008 at 6:00 AM, supareno <[EMAIL PROTECTED]> wrote: hello everyone, i'm facing to a BIG problem at my office... i work for a company with strange practices. i have to make a build file for an old project... the problem is: (jar names

exclude a loaded class from the classpath

2008-03-02 Thread supareno
A.jar via B.jar : possible ??? regards supareno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Broken ant installation

2008-02-03 Thread supareno
lation? what is the results of: echo $ANT_HOME ? echo $JAVA_HOME ? you could try this (in your .bashrc) PATH=/path/to/apache-ant-1.7.0/bin:$PATH ANT_HOME=/path/to/apache-ant-1.7.0 export PATH export ANT_HOME after editing your bashrc, reload it: $ source .bashrc hope this help! regards sup

Re: AW: keytool with ant

2007-10-17 Thread supareno
Thanks guys (Juergen and Jan) Better is to use the genkey task of ANT. i didn't see it :-( I prefer argument instead of argline, but then you have to set every single word. Instead of write yeah now it works. peace sup

keytool with ant

2007-10-16 Thread supareno
hi guys, i tried this with and under ubuntu 7.04 with a jdk 1.5 and eclipse... ... ... the command line works well but with ant it fails !! the error is the "-alias" argument... i tried with: ... ... and it

Re: What should be downloaded

2007-09-15 Thread supareno
please check out this page http://ant.apache.org/manual/index.html if you cannot find which stuff to download and install, stop programming and go to play football or rugby Hi I am new to Ant.Can you please tell me what to download.In the main distribution directory the list is: [image: [DIR]