ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hardy Henneberg <xhh0...@dsb.dk>
Subject SV: output from jvm AND wljspc does not report FAILED
Date Wed, 29 Aug 2001 06:56:15 GMT
Conor,
Thanks for response. I found out that it is NOT a general 'java' task
problem.
I called a 'Hello World' printing both at stdOut and stdErr and it worked
OK.
The problem seems to be specific to using 'java' task to run weblogic jspc.
The problem is both with 1.3 and 1.4. 
I also tried using the new wljsp task, which gives error messages from the 
compiler. 
A problem with that is, that it reports SUCCESSFUL even if there are errors.
This problem is with WindowsNT and Ant1.3 with optional.jar.
I haven't tried that with 1.4 yet, because it requires other changes to my
build.
I use wljspc this way:
  <target name="JSPcompile"  depends="compile">
    <wljspc src="${jspdir}"
          dest="${tempjspc}"
          package="_tmp_war_Websalg.jsp_servlet">
    <include name="**/*.jsp" />
    <classpath>
    	<pathelement path="${jsp.path}" />
    </classpath>
    </wljspc>
  </target>

	regards Hardy

> -----Oprindelig meddelelse-----
> Fra:	Conor MacNeill [SMTP:conor@cortexebusiness.com.au]
> Sendt:	28. august 2001 11:37
> Til:	ant-user@jakarta.apache.org
> Emne:	Re: output from jvm
> 
> Hardy,
> 
> Please try the new Ant 1.4 beta and see what result it produces. For most
> of the java tasks that I run, Ant is able to capture the output
> successfully. I don't know what the jspc compiler does and what output it
> generates but as it is designed to be embedded into a servlet engine (I'm
> guessing a bit), it may not write to System.out anyway. What happens when
> you run it directly at the command line?
> 
> Conor
> 
> ----- Original Message -----
> From: "Hardy Henneberg" <xhh0101@dsb.dk>
> To: <ant-user@jakarta.apache.org>
> Sent: Tuesday, August 28, 2001 4:18 PM
> Subject: output from jvm
> 
> 
> > I don't get error messages from the jspc compiler , when running it with
> the
> > 'java' task from ant - just a message saying the compilation failed.
> > I think it is a general problem, that system output from the jvm, when
> using
> > the 'java' task dissapears - I am running ant 1.3 on Windows NT. Any
> > suggestions ?
> >
> > regards
> > Hardy Henneberg
> >

Mime
View raw message