[jboss-dev] Compilation error in JBossAS trunk?
Pete Muir
pete.muir at jboss.org
Wed Feb 20 10:09:02 EST 2008
I have this too on my machine - I didn't look into why it happens,
but just symlinked the directories together.
On 20 Feb 2008, at 14:40, Trustin Lee wrote:
> 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.AbstractTopLevelClassLoader
>>> Deployer
>>>
>>> /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/
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
--
Pete Muir
http://www.seamframework.org
http://in.relation.to/Bloggers/Pete
More information about the jboss-development
mailing list