ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien BLANC <Sebastien.Bl...@alcatel.com>
Subject JBOSS verify integration
Date Fri, 03 Jan 2003 16:23:59 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message