[jboss-dev] Compilation error in JBossAS trunk?

Trustin Lee tlee at redhat.com
Wed Feb 20 09:40:04 EST 2008


I tried the command you suggested and got some weird result.

The directory I ran the build.sh
was: /home/trustin/workspace/checkout/jboss/jbossas/build.  During the
build, 3rd party libraries were downloaded
at: /home/trustin/workspace/checkout/jboss/thirdparty.  However, the
build classpath seems to point a wrong directory according to the build
log:

        _buildmagic:modules:most:
        
            ======================================================================
            ==  Executing 'most' in module 'main'...
            ==
        
        _buildmagic:init:
        
        configure:
             [echo] Classpath = /home/trustin/workspace/checkout/jboss/jbossas/thirdparty/gnu-getopt/lib/getopt.jar
        
... eventually bailing out with compilation errors.

It's pointing at
/home/trustin/workspace/checkout/jboss/jbossas/thirdparty/, but the 3rd
party libraries were downloaded at
/home/trustin/workspace/checkout/jboss/thirdparty/.  Should I configure
something before I initiate the build?

I looked into the build files but couldn't find anything notable.  I am
using Ant 1.7.0.  Would this be the cause of the problem?

Thanks,

2008-02-20 (수), 13:50 +0200, Dimitris Andreadis 쓰시길:
> I don't think the maven build is ready yet?
> 
> Try instead:
> cd jbossas/build
> ./build.sh
> 
> Trustin Lee wrote:
> > Hi,
> > 
> > I did the following:
> > 
> > $ svn co https://svn.jboss.org/repos/jbossas/trunk/ jbossas
> > $ cd jbossas
> > $ mvn clean install
> > 
> > and got the following compilation error:
> > 
> > ...
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building JBoss Application Server System JMX
> > [INFO]    task-segment: [install]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Compiling 123 source files
> > to /home/trustin/workspace/checkout/jboss/jbossas/system-jmx/target/classes
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> > 
> > /home/trustin/workspace/checkout/jboss/jbossas/system-jmx/src/main/org/jboss/system/deployers/ServiceClassLoaderDeployer.java:[53,7] org.jboss.system.deployers.ServiceClassLoaderDeployer is not abstract and does not override abstract method createTopLevelClassLoader(org.jboss.deployers.structure.spi.DeploymentUnit) in org.jboss.deployers.spi.deployer.helpers.AbstractTopLevelClassLoaderDeployer
> > 
> > /home/trustin/workspace/checkout/jboss/jbossas/system-jmx/src/main/org/jboss/system/deployers/ServiceClassLoaderDeployer.java:[119,16] visit(org.jboss.deployers.structure.spi.DeploymentContextVisitor) in org.jboss.deployers.structure.spi.DeploymentContext cannot be applied to (org.jboss.deployers.vfs.spi.structure.helpers.ClassPathVisitor)
> > 
> > Actually it's my first time that I try to build JBossAS, so I'd like to
> > know if it's my own problem or not.  The following is my environment:
> > 
> > $ uname -a
> > Linux laptop 2.6.23-gentoo-r8 #1 Tue Feb 12 12:04:54 EST 2008 i686
> > Intel(R) Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux
> > 
> > $ java -version
> > java version "1.6.0_03"
> > Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> > Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)
> > 
> > $ mvn --version
> > Maven version: 2.0.8
> > Java version: 1.6.0_03
> > OS name: "linux" version: "2.6.23-gentoo-r8" arch: "i386" Family: "unix"
> > 
> > Thanks,
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > jboss-development mailing list
> > jboss-development at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-development
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
-- 
Trustin Lee - Principal Software Engineer, JBoss, Red Hat
--
what we call human nature is actually human habit
--
http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.jboss.org/pipermail/jboss-development/attachments/20080220/e4099539/attachment.bin 


More information about the jboss-development mailing list