ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: AW: starting Visibroker Stuff from Ant
Date Thu, 03 Jul 2003 14:08:31 GMT
Yeah, on Unix platforms (at least that I have seen)
vbj is nothing more than a script that, long and
short, calls the "java" executable with some
Visibroker jars added to the classpath.

-Matt

--- Jan.Materne@rzf.fin-nrw.de wrote:
> Some months ago I wrote a batch file for starting
> java programs with
> java.exe instead of vbj.exe. I´m not sure which
> version of Visibroker
> (more exactly BES) I used that time. But maybe this
> infos will help you
> for writing the right classpath.
> 
> --8-<-----8-<-----8-<-----8-<-----8-<--
> set main=%1
> 
> set java=c:\seu\jbuilder\jdk1.3.1\bin\java
> set bes=c:/seu/bes
> set servername=C011357
> 
> set cp=.
> set cp=%cp%;%bes%/lib/lm.jar
> set cp=%cp%;%bes%/lib/xmlrt.jar
> set cp=%cp%;%bes%/lib/asrt.jar
> set cp=%cp%;%bes%/lib/vbjorb.jar
> set cp=%cp%;%bes%/lib/vbsec.jar
> 
> set props=
> set props=%props% -Dvbroker.agent.port=12005
> 
> %java% -cp %cp% %props% %main% 
> --8-<-----8-<-----8-<-----8-<-----8-<--
> 
> 
> Jan
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Torsten.Gonther@dornier.eads.net
> > [mailto:Torsten.Gonther@dornier.eads.net]
> > Gesendet am: Mittwoch, 2. Juli 2003 17:28
> > An: user@ant.apache.org
> > Betreff: starting Visibroker Stuff from Ant
> > 
> > Hi
> > 
> > I am trying to start a Java-Visibroker App from an
> Ant Script.
> > 
> > The program fails to init the orb, and a run with
> java 
> > -verbose ... tells
> > me that
> > the VM uses the org.omg.* classes from Sun's
> rt.jar instead 
> > of the ones
> > from the visibroker jars.
> > 
> > If I start the Visibroker App from the DOS-Shell
> or via a Batch file,
> > everything works fine.
> > 
> > Any ideas ?
> > 
> > PS: I have already tried vmlauncher="false" and  
> > newenvironment="true" in
> > the definition of the exec Task, with the same
> negative result
> > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> > 
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message