ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: JBOSS verify integration
Date Fri, 03 Jan 2003 16:39:14 GMT
Maybe you should do the following :
1)
add <echo>
      ${jar.path}
      </echo>
in your build file where you do your JBOSS VERIFICATION
2)
 if you see that for some reason the jar.path property is not set to what
you want,
you might want to use the <antcall> task to call your jboss verification.
See the ant manual to see what you can do with antcall.
Antoine

----- Original Message -----
From: "Sebastien BLANC" <Sebastien.Blanc@alcatel.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, January 03, 2003 5:23 PM
Subject: JBOSS verify integration


> Hello !
>
> I'm having troubles to use JBOSS verifier with ant. I have the following
> task:
>
> <target name="verify" depends="jar">
>      <echo>JBOSS VERIFICATION ...</echo>
>      <java classname = "org.jboss.verifier.Main" fork="true"
> failonerror="true">
>         <classpath refid = "jboss.verifier.class.path"/>
>          <arg value = "${jar.path}"/>
>      </java>
> </target>
>
> with <property name="jar.path"      value="${jar.dir}/${pkg.name}.jar"
> />
>
> all my build.xml_s look this way and wat I get is that the verifier
> always verifies the same jar file even if I'm in another package, as if
> the arg value was not taken into account properly.
>
> the verifier runs fine in standalone but not when integrated with ant:
>
> jar:
>       [jar] Building jar:
> C:\Data\EJB\pkg\jar\ejb-jar-gem-System\ejb-jar-gem-System.jar
>
> verify:
>      [echo] JBOSS VERIFICATION ...
>      [java] log4j:WARN No appenders could be found for logger
> (org.jboss.metadata.EntityMetaData).
>      [java] log4j:WARN Please initialize the log4j system properly.
>      [java] EMS: Verified.
>
> ear:
>       [jar] Updating jar: C:\Data\EJB\pkg\ear\gem.ear
>
> deploy:
>      [copy] Copying 1 file to C:\Data\jboss-3.0.4\server\ems\deploy
>
> ....
>
> jar:
>       [jar] Building jar:
> C:\Data\EJB\pkg\jar\ejb-jar-gem-TestAccess\ejb-jar-gem-TestAccess.jar
>
> verify:
>      [echo] JBOSS VERIFICATION ...
>      [java] log4j:WARN No appenders could be found for logger
> (org.jboss.metadata.EntityMetaData).
>      [java] log4j:WARN Please initialize the log4j system properly.
>      [java] EMS: Verified.
>
> ear:
>       [jar] Updating jar: C:\Data\EJB\pkg\ear\gem.ear
>
> deploy:
>      [copy] Copying 1 file to C:\Data\jboss-3.0.4\server\ems\deploy
>
> where it should be System and TestAccess instead of EMS. EMS is one of
> the first build I've launched. I have the pb both in recursive build and
> standalone build (only in one dir with no subdirs).
>
> thanx for help.
>
> seb.
>


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


Mime
View raw message