> -----Original Message-----
> From: Christopher Lenz [mailto:[EMAIL PROTECTED]
> Sent: 19 June 2003 20:30
> To: Cactus Developers List
> Subject: Re: FW: [Cactus plugin] Failing to start JBoss
> 
> Vincent Massol wrote:
> 
> > Chris,
> >
> > Is there something we can do here? The issue must be in our Ant
> > integration code somewhere.
> >
> > FYI, I had fixed the jboss plugin for Maven by adding the following:
> >
> >     <!-- Construct a URL valid on any OS -->
> >     <util:file var="jbossfile"
> >       name="${maven.jboss.build.dir}/${maven.jboss.conf.name}"/>
> >     <j:set var="jbossurl" value="${jbossfile.toURL()}"/>
> 
> Where is this 'jbossurl' variable used then?
> 
> (I think I see the problem, but would like to understand this a bit
more)
> 

Here:

    <java classname="org.jboss.Main" fork="yes"
dir="${maven.jboss.home}/bin">

      <sysproperty key="program.name"
file="${maven.jboss.home}/bin/run.bat"/>
      <sysproperty key="jboss.server.home.dir" 
        file="${maven.jboss.build.dir}/${maven.jboss.conf.name}"/>
      <sysproperty key="jboss.server.home.url" value="${jbossurl}"/>

      <arg line="-c ${maven.jboss.conf.name}"/>

      <classpath>
        <pathelement location="${maven.jboss.home}/bin/run.jar"/>
        <pathelement path="${java.home}/../lib/tools.jar"/>
      </classpath>

    </java>

Thanks
-Vincent

> > (i.e using the File.toURL() API).
> >
> > Thanks
> > -Vincent
> >
> 
> --
> Christopher Lenz
> /=/ cmlenz at gmx.de
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to