Capturing output from an ant task [message #20183] |
Mon, 12 May 2003 13:11  |
Eclipse User |
|
|
|
Originally posted by: francism.cogs.susx.ac.uk
Hello all,
I'm using eclipse version 2.1 for GTK under linux mandrake 9.1
with J2K 1.4.1.
I have a task that executes a shell script command to compile
and verify the output of the compiler against predetermined
results and outputs the differences to the console.
Here is the task code
<target name="Compile tests.BadSemantic" depends="init">
<echo message="--> Building tests bad Semantic ..."/>
<exec executable="/bin/sh" dir="${basedir}/tests/badSemantic">
<arg value="-c" />
<arg value="for file in $$(ls -1 *.tyco | sed 's/.tyco//g');do
echo Compiling $$file; java -cp
${env.CLASSPATH}:${classpathdir}
org.tyco.tycoc.Tycoc $$file.tyco | diff $$file.output
-;done"/>
</exec>
<echo message="--> All Done"/>
</target>
It works great on the past (with other eclipse versions),
but now I'm not able to see all the output produced by the diff
command on the console view.
Can anybody help?
Thans,
francisco
|
|
|
|
Re: Capturing output from an ant task [message #20849 is a reply to message #20199] |
Tue, 13 May 2003 06:53  |
Eclipse User |
|
|
|
Originally posted by: francism.cogs.susx.ac.uk
Sorry, I fill so silly ... :((
I'm not used yet to some of the new features that you keep
developing... of course the "capture output" option was not
selected. Now I see the output again.
Sorry and thanks,
francisco.
Darin Swanson wrote:
> So starting with 2.1, you suddenly no longer see any output from your task
> in the console view?
> The process associated with your Ant build is selected in the "Display
> Output of Selected Process" drop down action?
> Darins
> "Francisco Martins" <francism@cogs.susx.ac.uk> wrote in message
> news:b9okj6$65d$1@rogue.oti.com...
> > Hello all,
> >
> > I'm using eclipse version 2.1 for GTK under linux mandrake 9.1
> > with J2K 1.4.1.
> >
> > I have a task that executes a shell script command to compile
> > and verify the output of the compiler against predetermined
> > results and outputs the differences to the console.
> >
> > Here is the task code
> >
> > <target name="Compile tests.BadSemantic" depends="init">
> > <echo message="--> Building tests bad Semantic ..."/>
> > <exec executable="/bin/sh" dir="${basedir}/tests/badSemantic">
> > <arg value="-c" />
> > <arg value="for file in $$(ls -1 *.tyco | sed 's/.tyco//g');do
> > echo Compiling $$file; java -cp
> > ${env.CLASSPATH}:${classpathdir}
> > org.tyco.tycoc.Tycoc $$file.tyco | diff $$file.output
> > -;done"/>
> > </exec>
> > <echo message="--> All Done"/>
> > </target>
> >
> > It works great on the past (with other eclipse versions),
> > but now I'm not able to see all the output produced by the diff
> > command on the console view.
> >
> > Can anybody help?
> >
> > Thans,
> >
> > francisco
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03624 seconds