You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jason Day <ja...@grooveport.com> on 2000/10/12 17:16:19 UTC
Anyone used jvc successfully?
Hello,
Has anyone been able to use jvc as their compiler within ant? I can get it
to work using the exec task, of course, but when I try setting the
build.compiler property to jvc and compile with the javac task I get reams
of error messages like:
c:\ant\lib\ant.jar(55,21) : error J0029: Invalid character
Can anybody help me out? Or, alternatively, is there a way I can extract
the com.ms classes so that I don't have to use jvc?
Thanks in advance,
Jason
--
Jason Day jason at
System Architect, GroovePort, Inc. grooveport dot com
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9
Re: Anyone used jvc successfully?
Posted by Jason Day <ja...@grooveport.com>.
On Thu, 12 Oct 2000 15:47:23 Nico Seessle wrote:
[snip]
> Can you post the part of your build.xml which executes the compiler and
> the
> output of invoking jvc (or just the version number it indicates)?
<target name="windoze-compile" depends="prepare" if="windoze">
<!--
<exec dir="${src}" executable="jvc" failonerror="true">
<arg value="-d" />
<arg path="${build.windoze}" />
<arg value="com\grooveport\grooveamp\*.java" />
</exec>
-->
<javac srcdir="${src}" destdir="${build.windoze}" />
</target>
jvc version output is 6.00.8424
>
> > Can anybody help me out? Or, alternatively, is there a way I can
> extract
> > the com.ms classes so that I don't have to use jvc?
>
> What part of the com.ms-Classes are you using? Generally you could
> extract
> them from the PackageManager using "clspack -auto" which will create a
> file
> %windir%\java\classes\classes.zip but you may get problems when you try
> to
> use non-MS-Compilers to compile MS-specific Source.
I need the com.ms.security classes, so I can assert permissions to execute
privileged code in IE. I'm not very familliar with the MS java sdk; I'll
look at clspack and see it it can work for me.
Thanks,
Jason
>
> Nico
>
>
--
Jason Day jason at
System Architect, GroovePort, Inc. grooveport dot com
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9
Re: Anyone used jvc successfully?
Posted by Nico Seessle <Ni...@epost.de>.
----- Original Message -----
From: "Jason Day" <ja...@grooveport.com>
To: <an...@jakarta.apache.org>
Sent: Thursday, October 12, 2000 5:16 PM
Subject: Anyone used jvc successfully?
> Hello,
>
> Has anyone been able to use jvc as their compiler within ant? I can get
it
> to work using the exec task, of course, but when I try setting the
> build.compiler property to jvc and compile with the javac task I get reams
> of error messages like:
> c:\ant\lib\ant.jar(55,21) : error J0029: Invalid character
>
I use it quite intensively (and I have included support for jvc itno
javac) - I have never seen a Message like this...
Can you post the part of your build.xml which executes the compiler and the
output of invoking jvc (or just the version number it indicates)?
> Can anybody help me out? Or, alternatively, is there a way I can extract
> the com.ms classes so that I don't have to use jvc?
What part of the com.ms-Classes are you using? Generally you could extract
them from the PackageManager using "clspack -auto" which will create a file
%windir%\java\classes\classes.zip but you may get problems when you try to
use non-MS-Compilers to compile MS-specific Source.
Nico