Once the main stuff builds, testsuite fails with the same error:
Definitely something fishy with this pojo cache mvn ref ...
------------------------------------------------
C:\projects\jboss5\trunk\testsuite>build
Calling ..\tools\ant\bin\ant.bat
Buildfile: build.xml
check-env:
init-maven-ant-tasks:
init-dependencies:
init-dependencies:
[echo] Loading dependency paths from file:
C:\projects\jboss5\trunk\testsuite\output\build-dependencies.xml
init-paths:
server-config:
init:
[mkdir] Created dir:
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\cts\ejb
[mkdir] Created dir:
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\cts\interfaces
[mkdir] Created dir:
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\cts\service
[copy] Copying 1 file to
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\cts\interfaces
[copy] Copying 1 file to
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\cts\ejb
[copy] Copying 1 file to
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\cts\service
[mkdir] Created dir:
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\classloader\scoping\singleton
[copy] Copying 1 file to
C:\projects\jboss5\trunk\testsuite\output\gen-src\org\jboss\test\classloader\scoping\singleton
compile-resources:
[mkdir] Created dir:
C:\projects\jboss5\trunk\testsuite\output\resources
[copy] Copying 1595 files to
C:\projects\jboss5\trunk\testsuite\output\resources
[copy] Copied 1110 empty directories to 8 empty directories under
C:\projects\jboss5\trunk\testsuite\output\resources
init-code-generation:
[mkdir] Created dir: C:\projects\jboss5\trunk\testsuite\output\reports
compile-bean-sources:
compile-mbean-sources:
compile-proxycompiler-bean-sources:
compile-annotated-classes-50:
[mkdir] Created dir: C:\projects\jboss5\trunk\testsuite\output\classes
[javac] Compiling 255 source files to
C:\projects\jboss5\trunk\testsuite\output\classes
BUILD FAILED
C:\projects\jboss5\trunk\testsuite\build.xml:702: Reference
org.jboss.cache:jbosscache-pojo:jar not found.
Ales Justin wrote:
From root: C:\projects\jboss5\trunk>mvn clean install
If I comment out build/build.xml, line #2034 (the pojo cache refid),
the build is successful.
Dimitris Andreadis wrote:
> Are you building from the root of the checkout or from inside the
> build dir?
>
> Ales Justin wrote:
>> I'm trying to remove spring-int from AS trunk (JBAS-7370),
>> but I'm getting weird error I cannot relate to my changes ...
>>
>> -------------------------------------
>>
>> thirdparty:
>> [copy] Copying 83 files to
>> C:\projects\jboss5\trunk\build\output\jboss-6.0.0-SNAPSHOT\common\lib
>> [copy] Copying 1 file to
>> C:\projects\jboss5\trunk\build\output\jboss-6.0.0-SNAPSHOT\common\lib
>> [mkdir] Created dir:
>> C:\projects\jboss5\trunk\build\output\jboss-6.0.0-SNAPSHOT\server\all\lib
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] An Ant BuildException has occured: The following error
>> occurred while executing this line:
>> C:\projects\jboss5\trunk\build\build.xml:2028: Reference
>> org.jboss.cache:jbosscache-pojo:jar not found.
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
>> BuildException has occured: The following error occurred while
>> executing this line:
>> C:\projects\jboss5\trunk\build\build.xml:2028: Reference
>> org.jboss.cache:jbosscache-pojo:jar not found.
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>>
>> at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> at
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant
>> BuildException has occured: The following error occurred while
>> executing this line:
>> C:\projects\jboss5\trunk\build\build.xml:2028: Reference
>> org.jboss.cache:jbosscache-pojo:jar not found.
>> at
>>
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:131)
>>
>> at
>> org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:98)
>> at
>>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>>
>> at
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>>
>> ... 16 more
>> Caused by: The following error occurred while executing this line:
>> C:\projects\jboss5\trunk\build\build.xml:2028: Reference
>> org.jboss.cache:jbosscache-pojo:jar not found.
>> at
>>
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
>>
>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>> at
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>
>> at org.apache.tools.ant.Task.perform(Task.java:348)
>> at org.apache.tools.ant.Target.execute(Target.java:357)
>> at
>>
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:118)
>>
>> ... 19 more
>> Caused by: C:\projects\jboss5\trunk\build\build.xml:2028: Reference
>> org.jboss.cache:jbosscache-pojo:jar not found.
>> at
>> org.apache.tools.ant.types.Reference.getReferencedObject(Reference.java:115)
>>
>> at
>> org.apache.tools.ant.types.DataType.dieOnCircularReference(DataType.java:144)
>>
>> at
>> org.apache.tools.ant.types.DataType.dieOnCircularReference(DataType.java:115)
>>
>> at
>> org.apache.tools.ant.types.DataType.getCheckedRef(DataType.java:228)
>> at
>> org.apache.tools.ant.types.DataType.getCheckedRef(DataType.java:194)
>> at
>> org.apache.tools.ant.types.AbstractFileSet.getRef(AbstractFileSet.java:499)
>>
>> at
>>
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)
>>
>> at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:431)
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>> at
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>
>> at org.apache.tools.ant.Task.perform(Task.java:348)
>> at org.apache.tools.ant.Target.execute(Target.java:357)
>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>> at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>> at
>>
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
>>
>> at
>> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>> ... 27 more
>>
>> ----------------------------
>>
>> Running testsuite/build gets me another weird crap ...
>>
>>
>>
>> C:\projects\jboss5\trunk\testsuite>build
>> Calling ..\tools\ant\bin\ant.bat
>> Buildfile: build.xml
>>
>> check-env:
>>
>> init-maven-ant-tasks:
>>
>> init-dependencies:
>>
>> init-dependencies:
>> [echo] Loading dependency paths from file:
>> C:\projects\jboss5\trunk\testsuite\output\build-dependencies.xml
>>
>> init-paths:
>>
>> server-config:
>>
>> BUILD FAILED
>> java.lang.NoClassDefFoundError: org/jboss/logging/Logger
>> at
>> org.jboss.jbossas.servermanager.Server.<clinit>(Server.java:65)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> at
>>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>
>> at
>>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>
>> at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> at
>>
org.apache.tools.ant.IntrospectionHelper$AddNestedCreator.create(IntrospectionHelper.java:1278)
>>
>> at
>>
org.apache.tools.ant.IntrospectionHelper$Creator.create(IntrospectionHelper.java:1169)
>>
>> at
>> org.apache.tools.ant.UnknownElement.handleChild(UnknownElement.java:550)
>> at
>> org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:346)
>>
>> at
>> org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:198)
>> at
>> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
>>
>> at org.apache.tools.ant.Task.perform(Task.java:347)
>> at org.apache.tools.ant.Target.execute(Target.java:357)
>> at org.apache.tools.ant.Target.performTasks(Target.java:385)
>> at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>> at
>>
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>
>> at
>> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>> at org.apache.tools.ant.Main.runBuild(Main.java:758)
>> at org.apache.tools.ant.Main.startAnt(Main.java:217)
>> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>> Caused by: java.lang.ClassNotFoundException: org.jboss.logging.Logger
>> at
>>
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
>>
>> at
>> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
>> at
>> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>> ... 22 more
>