[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Help needed to create a patch.

ZeroTolerance do-not-reply at jboss.com
Wed Aug 12 04:15:41 EDT 2009


Hi,

First of all thanks for the information.

I now have the aop sourcecode from the repository and want to compile the code.

This is where I have the code from:
http://anonsvn.jboss.org/repos/jbossas/projects/aop

There is a build directory with a build.xml file.
according to http://www.jboss.org/community/wiki/BuildingJBossAOPFromSubversion I should run build.bat (I have a windows system)
If I run this I get the following error message: (See below)

Running the build script from eclipse or the command line is giving the same result. 

Anybody any idea on what is wrong?
Could it be that there is something wrong with jrockit? I never installed it as far as I know. 

Regards,
Werner



  | Buildfile: C:\Java\workspace\jbossaop\build\build.xml
  | verify-environment:
  |      [echo] Apache Ant version 1.7.0 compiled on December 13 2006
  |      [echo] Java version 1.6
  | init-maven-parent:
  | [maven:install] [INFO] Installing C:\Java\workspace\jbossaop\pom.xml to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop-parent\2.1.0-SNAPSHOT\jboss-aop-parent-2.1.0-SNAPSHOT.pom
  | init:
  |      [echo] Using maven version located at C:\Java\workspace\jbossaop/tools/maven
  | set-jrockit:
  | maven-build-install:
  |      [echo] jrockit: 
  |      [java] [INFO] Scanning for projects...
  |      [java] [INFO] Reactor build order: 
  |      [java] [INFO]   JBoss AOP Parent POM
  |      [java] [INFO]   JBoss AOP Framework
  |      [java] [INFO]   JBoss AOP Pluggable Instrumentor
  |      [java] [INFO]   JBoss AOP Aspects
  |      [java] [INFO]   JBoss AOP AS Integration Core
  |      [java] [INFO]   JBoss AOP AS Integration JMX
  |      [java] [INFO]   JBoss AOP AS Integration MC
  |      [java] [INFO]   JBoss AOP Helper
  |      [java] [INFO]   JBoss AOP Deployers
  |      [java] [INFO]   JBoss AOP Distribution Build
  |      [java] WAGON_VERSION: 1.0-beta-2
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Building JBoss AOP Parent POM
  |      [java] [INFO]    task-segment: [install]
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [site:attach-descriptor]
  |      [java] [INFO] Preparing source:jar
  |      [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [source:jar {execution: attach-sources}]
  |      [java] [INFO] [install:install]
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\pom.xml to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop-parent\2.1.0-SNAPSHOT\jboss-aop-parent-2.1.0-SNAPSHOT.pom
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Building JBoss AOP Framework
  |      [java] [INFO]    task-segment: [install]
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] Downloading: http://repo1.maven.org/maven2/apache-xerces/xml-apis/2.9.1/xml-apis-2.9.1.pom
  |      [java] Downloading: http://repo1.maven.org/maven2/jboss/profiler/jvmti/jboss-profiler-jvmti/1.0.0.CR5/jboss-profiler-jvmti-1.0.0.CR5.pom
  |      [java] Downloading: http://repo1.maven.org/maven2/jboss/jboss-test/1.0.3.GA/jboss-test-1.0.3.GA.pom
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [resources:resources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [INFO] [compiler:compile]
  |      [java] [INFO] Nothing to compile - all classes are up to date
  |      [java] [INFO] [resources:testResources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [INFO] [compiler:testCompile]
  |      [java] [INFO] Compiling 3 source files to C:\Java\workspace\jbossaop\aop\target\test-classes
  |      [java] [INFO] [surefire:test]
  |      [java] [INFO] Tests are skipped.
  |      [java] [INFO] [jar:jar]
  |      [java] [INFO] Preparing source:jar
  |      [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [source:jar {execution: attach-sources}]
  |      [java] [INFO] Building jar: C:\Java\workspace\jbossaop\aop\target\jboss-aop-sources.jar
  |      [java] [INFO] [jar:test-jar {execution: create-test-jar}]
  |      [java] [INFO] Building jar: C:\Java\workspace\jbossaop\aop\target\jboss-aop-tests.jar
  |      [java] [INFO] [assembly:attached {execution: jdk50-client}]
  |      [java] [INFO] Reading assembly descriptor: src/assembly/client.xml
  |      [java] [INFO] Building jar: C:\Java\workspace\jbossaop\aop\target\jboss-aop-client.jar
  |      [java] [INFO] [assembly:attached {execution: client-sources}]
  |      [java] [INFO] Reading assembly descriptor: src/assembly/client-sources.xml
  |      [java] [INFO] Building jar: C:\Java\workspace\jbossaop\aop\target\jboss-aop-client-sources.jar
  |      [java] [INFO] [assembly:attached {execution: single}]
  |      [java] [INFO] Reading assembly descriptor: src/assembly/single.xml
  |      [java] [INFO] Processing DependencySet (output=null)
  |      [java] [INFO] Building jar: C:\Java\workspace\jbossaop\aop\target\jboss-aop-single.jar
  |      [java] [INFO] [antrun:run {execution: copy-output-jars}]
  |      [java] [INFO] Executing tasks
  |      [java]      [copy] Copying 1 file to C:\Java\workspace\jbossaop\aop\target\lib
  |      [java]      [copy] Copying 1 file to C:\Java\workspace\jbossaop\aop\target\lib
  |      [java]      [copy] Copying 1 file to C:\Java\workspace\jbossaop\aop\target\lib
  |      [java]      [copy] Copying 1 file to C:\Java\workspace\jbossaop\aop\target\lib
  |      [java] [INFO] Executed tasks
  |      [java] [INFO] [install:install]
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aop\target\jboss-aop.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop\2.1.0-SNAPSHOT\jboss-aop-2.1.0-SNAPSHOT.jar
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aop\target\jboss-aop-sources.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop\2.1.0-SNAPSHOT\jboss-aop-2.1.0-SNAPSHOT-sources.jar
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aop\target\jboss-aop-tests.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop\2.1.0-SNAPSHOT\jboss-aop-2.1.0-SNAPSHOT-tests.jar
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aop\target\jboss-aop-client.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop\2.1.0-SNAPSHOT\jboss-aop-2.1.0-SNAPSHOT-client.jar
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aop\target\jboss-aop-client-sources.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop\2.1.0-SNAPSHOT\jboss-aop-2.1.0-SNAPSHOT-client-sources.jar
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aop\target\jboss-aop-single.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop\2.1.0-SNAPSHOT\jboss-aop-2.1.0-SNAPSHOT-single.jar
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Building JBoss AOP Pluggable Instrumentor
  |      [java] [INFO]    task-segment: [install]
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [resources:resources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [INFO] [compiler:compile]
  |      [java] [INFO] Nothing to compile - all classes are up to date
  |      [java] [INFO] [resources:testResources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [INFO] [compiler:testCompile]
  |      [java] [INFO] No sources to compile
  |      [java] [INFO] [surefire:test]
  |      [java] [INFO] No tests to run.
  |      [java] [INFO] [jar:jar]
  |      [java] [INFO] Preparing source:jar
  |      [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [source:jar {execution: attach-sources}]
  |      [java] [INFO] Building jar: C:\Java\workspace\jbossaop\pluggable-instrumentor\target\pluggable-instrumentor-sources.jar
  |      [java] [INFO] [install:install]
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\pluggable-instrumentor\target\pluggable-instrumentor.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\pluggable-instrumentor\2.1.0-SNAPSHOT\pluggable-instrumentor-2.1.0-SNAPSHOT.jar
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\pluggable-instrumentor\target\pluggable-instrumentor-sources.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\pluggable-instrumentor\2.1.0-SNAPSHOT\pluggable-instrumentor-2.1.0-SNAPSHOT-sources.jar
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Building JBoss AOP Aspects
  |      [java] [INFO]    task-segment: [install]
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] Downloading: http://repo1.maven.org/maven2/org/jboss/javaee/jboss-jca-api/1.5.0.CR2/jboss-jca-api-1.5.0.CR2.pom
  |      [java] Downloading: http://repo1.maven.org/maven2/org/jboss/javaee/jboss-servlet-api/2.5.0.CR2/jboss-servlet-api-2.5.0.CR2.pom
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [resources:resources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [INFO] [compiler:compile]
  |      [java] [INFO] Nothing to compile - all classes are up to date
  |      [java] [INFO] [resources:testResources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [INFO] [compiler:testCompile]
  |      [java] [INFO] Nothing to compile - all classes are up to date
  |      [java] [INFO] [surefire:test]
  |      [java] [INFO] Tests are skipped.
  |      [java] [INFO] [jar:jar]
  |      [java] [INFO] Preparing source:jar
  |      [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [source:jar {execution: attach-sources}]
  |      [java] [INFO] Building jar: C:\Java\workspace\jbossaop\aspects\target\jboss-aop-aspects-sources.jar
  |      [java] [INFO] [install:install]
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aspects\target\jboss-aop-aspects.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop-aspects\2.1.0-SNAPSHOT\jboss-aop-aspects-2.1.0-SNAPSHOT.jar
  |      [java] [INFO] Installing C:\Java\workspace\jbossaop\aspects\target\jboss-aop-aspects-sources.jar to C:\Documents and Settings\mook\.m2\repository\org\jboss\aop\jboss-aop-aspects\2.1.0-SNAPSHOT\jboss-aop-aspects-2.1.0-SNAPSHOT-sources.jar
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Building JBoss AOP AS Integration Core
  |      [java] [INFO]    task-segment: [install]
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] Downloading: http://repo1.maven.org/maven2/org/jboss/jbossas/jboss-as-system-jmx/5.0.0.CR1/jboss-as-system-jmx-5.0.0.CR1.pom
  |      [java] [INFO] [enforcer:enforce {execution: enforce-versions}]
  |      [java] [INFO] [resources:resources]
  |      [java] [INFO] Using default encoding to copy filtered resources.
  |      [java] [INFO] [compiler:compile]
  |      [java] [INFO] Compiling 35 source files to C:\Java\workspace\jbossaop\asintegration-core\target\classes
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [ERROR] BUILD FAILURE
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Compilation failure
  |      [java] C:\Java\workspace\jbossaop\asintegration-core\src\main\java\org\jboss\aop\asintegration\core\AspectManagerServiceDelegate.java:[60,30] cannot find symbol
  |      [java] symbol  : class ServerConfig
  |      [java] location: package org.jboss.system.server
  |      [java] C:\Java\workspace\jbossaop\asintegration-core\src\main\java\org\jboss\aop\asintegration\core\AspectManagerServiceDelegate.java:[230,49] cannot find symbol
  |      [java] symbol  : variable ServerConfig
  |      [java] location: class org.jboss.aop.asintegration.core.AspectManagerServiceDelegate
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] For more information, run Maven with the -e switch
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] [INFO] Total time: 45 seconds
  |      [java] [INFO] Finished at: Wed Aug 12 10:04:42 CEST 2009
  |      [java] [INFO] Final Memory: 25M/54M
  |      [java] [INFO] ------------------------------------------------------------------------
  |      [java] Java Result: 1
  | 
  | BUILD FAILED
  | C:\Java\workspace\jbossaop\build\build.xml:135: Unable to build maven modules.  See maven output for details.
  | 
  | Total time: 48 seconds
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249144#4249144

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249144



More information about the jboss-dev-forums mailing list