Re: AW: AW: Problems with ANTLR

2013-08-20 Thread Matt Benson
Hmm, I don't know what could be the cause of the poor performance. I've never used ANTLR 3 much tbh. As for the task name, it is indeed defined by the name attribute of the taskdef, but note that in your current working example, you are using your own taskdef and are effectively bypassing the antli

Re: AW: AW: Problems with ANTLR

2013-08-20 Thread Ernst Reissner
Hi Matt, thanks: one step further! I tried now ... It seems to create parsers only when grammar changed, so it is ok, but: it is very slow: 11 secs if no parser is created and 30 if grammars are created. So a large portion of ti

Re: AW: AW: Problems with ANTLR

2013-08-19 Thread Matt Benson
See inline for some commentary: On Mon, Aug 19, 2013 at 2:28 AM, Ernst Reissner wrote: > Ok, got one step further: > now i have: > > > > > > > > Here you define the task as being named "ant-antlr3": > classname="org.apache.tools.ant.antlr.ANTLR3" >

AW: AW: AW: Problems with ANTLR

2013-08-19 Thread jhm
One side note: you are using 1.8.2 (Dec 2010) and I suggest updating to 1.9.1 (Jul 2013). http://ant.apache.org/faq.html#history > Ok, got one step further: > now i have: > > > > > > > > classname="org.apache.tools.ant.antlr.ANTLR3" > classpathref

Re: AW: AW: Problems with ANTLR

2013-08-19 Thread Ernst Reissner
Ok, got one step further: now i have: which seems to work. But when i try to use the new task by ant complaints ernst@localhost:~/Software> ant genParser Buildfile: /home/ernst/Software/build.xml init: genParser: BUILD FAILED /home/erns

Re: AW: AW: Problems with ANTLR

2013-08-19 Thread Ernst Reissner
Hi Jan, i tried >name="ant-antlr3" > classname="org.apache.tools.ant.antlr.ANTLR3" > /> as you suggested (which looks much better than what i did before). Result ernst@localhost:~/Software> ant genParser Buildfile: /home/ernst/Software/build.xml BUILD FAILED /home/ernst/Software/

Re: AW: Problems with ANTLR

2013-08-19 Thread Ernst Reissner
Ok, I understand. But how should they, i.e. the antlr-people define their ant-task. I am sure, they will do if we tell them. > Okay, I apologize. The ANTLR wiki does in fact specify the XML namespace > you are using, but technically they should not be hijacking an org.apache > namespace in this ma

AW: AW: Problems with ANTLR

2013-08-18 Thread jhm
issner [mailto:rei3...@arcor.de] > Gesendet: Montag, 19. August 2013 00:44 > An: user@ant.apache.org > Betreff: Re: AW: Problems with ANTLR > > H, > what I read is > http://www.antlr.org/wiki/display/ANTLR3/How+to+use+ant+with+ANTLR3 > > They suggest a test > |$ ant

Re: AW: Problems with ANTLR

2013-08-18 Thread Matt Benson
Okay, I apologize. The ANTLR wiki does in fact specify the XML namespace you are using, but technically they should not be hijacking an org.apache namespace in this manner, hence my confusion. :-( Matt On Aug 18, 2013 5:44 PM, "Ernst Reissner" wrote: > H, > what I read is > http://www.antlr.

Re: AW: Problems with ANTLR

2013-08-18 Thread Ernst Reissner
H, what I read is http://www.antlr.org/wiki/display/ANTLR3/How+to+use+ant+with+ANTLR3 They suggest a test |$ ant -diagnostics which should show | |\--\-| |ANT_HOME/lib jar listing| |\--\-| |ant.home: /usr/share/a

Re: AW: Problems with ANTLR

2013-08-18 Thread Matt Benson
That is not the namespace of the ANTLR task; its jar may not even be set up as an antlib as such. You'll need to consult the documentation for the task to find out the proper way to set it up. Matt On Aug 18, 2013 10:48 AM, "Ernst Reissner" wrote: > Hello Jan, > you mean that ant-antlr3.jar is n

Re: AW: Problems with ANTLR

2013-08-18 Thread Ernst Reissner
Hello Jan, you mean that ant-antlr3.jar is not in place? I have it in /usr/share/ant/lib and even if I provide ant -lib /home/ernst/Software/jars, where it is as well, it does not work. Ernst > Maybe the antlib is not on the classpath? > For loading antlibs via namespaces from custom classpath se

AW: Problems with ANTLR

2013-08-11 Thread jhm
Maybe the antlib is not on the classpath? For loading antlibs via namespaces from custom classpath see http://ant.apache.org/manual/Types/antlib.html#loadFromInside Jan > -Ursprüngliche Nachricht- > Von: Ernst Reissner [mailto:rei3...@arcor.de] > Gesendet: Mittwoch, 7. August 2013 15:16 >

AW: Problems with ANTLR

2009-04-29 Thread Jan.Materne
is not a task from Ant - it is one of the ANTLR parser generator. Therefore you have to download the task implementation from the ANTLR website and provide it to Ant via "-lib" or one of the other suggested ways. That's what the error message means. Jan >-Ursprüngliche Nachricht- >Vo

AW: Problems with exec tag

2006-09-03 Thread Jan.Materne
I would try Ant 1.7beta1 and latest Ant-Contrib with the namespace declaration - that's the future way. And you can see inside your buildfile where the tasks come from. (ac-AntContrib, sf-SmartFrog, au:AntUnit, svn:AntLib-Subversion, ...) Jan >-Ursprüngliche Nachricht- >Von: Daniel Ca

AW: Problems with exec tag

2006-09-01 Thread Jan.Materne
cht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 1. September 2006 08:51 >An: user@ant.apache.org >Betreff: AW: Problems with exec tag > >Your script works for me ... > > > > > > &

AW: Problems with exec tag

2006-08-31 Thread Jan.Materne
Your script works for me ... >I put the ant file below and the content of the test12.txt is >// test exec file notepad.exe; notepad.exe Not sure about the blank after ';' Jan -

AW: AW: Problems with optional tasks

2005-11-14 Thread Jan.Materne
${user.home}/.ant/lib as described in http://ant.apache.org/manual/running.html#libs Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Sonntag, 6. November 2005 15:57 >An: Ant Users List >Betreff: Re: AW: Problems with option

Re: AW: Problems with optional tasks

2005-11-06 Thread duvelbier-tsmets
How can I add the jsch (sshexec & scp) library without putting them into the ${ANT_HOME}/lib ... ? It is OK on my local machine but I'd need the JSCH library on CruiseControle too and there I cannot add it to the shared environment for compatibility (obvious) reasons :( \T, --- [EMAIL PROTECTED

AW: Problems with optional tasks

2005-09-28 Thread Jan.Materne
Your output of java.class.path is /usr/local/ant/lib/ant-launcher.jar:/usr/local/ant/lib/ant-jdepend.jar:/usr/local/ant/lib/ant-trax.jar:/usr/local/ant/lib/ant.jar:/usr/local/ant/lib/ant-starteam.jar:/usr/local/ant/lib/ant-launcher.jar:/usr/local/ant/lib/ant-stylebook.jar:/usr/local/ant/lib/ant-ja

AW: Problems with

2005-04-12 Thread Huditsch Roman
gt; Betreff: AW: Problems with > > Solved it in the meantime... > But as I take a step forward, I discovered another issue > I split my files using , and for what > reason ever I get an empty source file within my result > folder beside the splitted documents. > Now I suppose

AW: Problems with

2005-04-12 Thread Huditsch Roman
Solved it in the meantime... But as I take a step forward, I discovered another issue I split my files using , and for what reason ever I get an empty source file within my result folder beside the splitted documents. Now I suppose that I have to delet those 0kb files. How can I achieve that?

AW: Problems with copying and renaming files

2005-01-31 Thread Jan . Materne
For and the files dont have to specified - use s. Does the work then? Jan > -Ursprüngliche Nachricht- > Von: Swathi Rao [mailto:[EMAIL PROTECTED] > Gesendet am: Sonntag, 30. Januar 2005 21:21 > An: user@ant.apache.org > Betreff: Problems with copying and renaming files > > Hi, > > I

AW: problems with antcontrib

2004-12-13 Thread Jan . Materne
> > > > > > >You´re checking if two string are equal, not whether one > contains the other. > > So, how to do that ?! http://ant.apache.org/manual/CoreTasks/conditions.html Jan

AW: problems with antcontrib

2004-12-13 Thread Jan . Materne
> Env = Win2000 / Ant 1.6.2 / ancontrib - 0.4 seems that you´re not using the latest AntContrib ... > ** Problem Nr.1 = > > Avg-${infomail.project}-Developer <-- properties set above > > > infomail_tolist.txt looks like : > > Avg-testproject > -Developer