You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by karan singh malhi <ka...@verizon.net> on 2004/10/01 19:27:08 UTC

build failed

hi , 

i disabled maven to run tests, and the build failed.


+----------------------------------------
| Executing (default): Geronimo :: Client Builder
| Memory: 13M/22M
+----------------------------------------
Attempting to download geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar.
Attempting to download openejb-core-2.0-SNAPSHOT.jar.
1106K downloaded
Attempting to download geronimo-common-1.0-SNAPSHOT.jar.
Attempting to download geronimo-connector-1.0-SNAPSHOT.jar.
Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
Attempting to download geronimo-deployment-1.0-SNAPSHOT.jar.
Attempting to download geronimo-j2ee-1.0-SNAPSHOT.jar.
Attempting to download geronimo-j2ee-schema-1.0-SNAPSHOT.jar.
Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
Attempting to download geronimo-naming-1.0-SNAPSHOT.jar.
Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
Attempting to download geronimo-transaction-1.0-SNAPSHOT.jar.

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:

jar:jar:

jar:install:


build:end:

    [copy] Copying 1 file to /home/karan/geronimo/etc
Plugin 'maven-deploy-plugin' in project 'Geronimo :: Client Builder' is
not available
build:start:

default:
java:prepare-filesystem:

java:compile:
    [depend] Deleted 0 out of date files in 0 seconds
    [echo] Compiling to
/home/karan/geronimo/modules/client-builder/target/classes
    [javac] Compiling 18 source files to
/home/karan/geronimo/modules/client-builder/target/classes
/home/karan/geronimo/modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java:74: package org.openejb.client.naming does not exist
import org.openejb.client.naming.RemoteEJBObjectFactory;
                                 ^
/home/karan/geronimo/modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java:75: package org.openejb.client.naming does not exist
import org.openejb.client.naming.RemoteEJBRefAddr;
                                 ^
/home/karan/geronimo/modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java:320: cannot resolve symbol
symbol: class RemoteEJBRefAddr
                        RemoteEJBRefAddr addr = new
RemoteEJBRefAddr(objectName);
                        ^
/home/karan/geronimo/modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java:320: cannot resolve symbol
symbol: class RemoteEJBRefAddr
                        RemoteEJBRefAddr addr = new
RemoteEJBRefAddr(objectName);
                                                    ^
/home/karan/geronimo/modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java:321: cannot resolve symbol
symbol: class RemoteEJBObjectFactory
                        Reference reference = new Reference(null, addr,
RemoteEJBObjectFactory.class.getName(), null);
                                                                       
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
5 errors

BUILD FAILED
File...... /home/karan/geronimo/maven.xml
Element... maven:reactor
Line...... 238
Column.... 27
Unable to obtain goal [default] --
/home/karan/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48:
<ant:javac> Compile failed; see the compiler error output for details.
Total time: 5 minutes 7 seconds
Finished at: Fri Oct 01 13:14:42 EDT 2004



Re: build failed

Posted by karan singh malhi <ka...@verizon.net>.
Thanks David,


On Fri, 2004-10-01 at 13:37, David Jencks wrote:
> I think that until development slows down a little bit your best path  
> for successful builds is to build all dependent projects together.
> 
> http://wiki.apache.org/geronimo/Building#head
> -2a72064daf87017de58dd77916b4376e55326bd8
> 
> david jencks
> 
> On Oct 1, 2004, at 10:27 AM, karan singh malhi wrote:
> 
> > hi ,
> >
> > i disabled maven to run tests, and the build failed.
> >
> >
> > +----------------------------------------
> > | Executing (default): Geronimo :: Client Builder
> > | Memory: 13M/22M
> > +----------------------------------------
> > Attempting to download geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar.
> > Attempting to download openejb-core-2.0-SNAPSHOT.jar.
> > 1106K downloaded
> > Attempting to download geronimo-common-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-connector-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-deployment-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-j2ee-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-j2ee-schema-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-naming-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-transaction-1.0-SNAPSHOT.jar.
> >
> > java:jar-resources:
> >
> > test:prepare-filesystem:
> >
> > test:test-resources:
> >
> > test:compile:
> >
> > test:test:
> >
> > jar:jar:
> >
> > jar:install:
> >
> >
> > build:end:
> >
> >     [copy] Copying 1 file to /home/karan/geronimo/etc
> > Plugin 'maven-deploy-plugin' in project 'Geronimo :: Client Builder' is
> > not available
> > build:start:
> >
> > default:
> > java:prepare-filesystem:
> >
> > java:compile:
> >     [depend] Deleted 0 out of date files in 0 seconds
> >     [echo] Compiling to
> > /home/karan/geronimo/modules/client-builder/target/classes
> >     [javac] Compiling 18 source files to
> > /home/karan/geronimo/modules/client-builder/target/classes
> > /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> > geronimo/client/builder/AppClientModuleBuilder.java:74: package  
> > org.openejb.client.naming does not exist
> > import org.openejb.client.naming.RemoteEJBObjectFactory;
> >                                  ^
> > /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> > geronimo/client/builder/AppClientModuleBuilder.java:75: package  
> > org.openejb.client.naming does not exist
> > import org.openejb.client.naming.RemoteEJBRefAddr;
> >                                  ^
> > /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> > geronimo/client/builder/AppClientModuleBuilder.java:320: cannot  
> > resolve symbol
> > symbol: class RemoteEJBRefAddr
> >                         RemoteEJBRefAddr addr = new
> > RemoteEJBRefAddr(objectName);
> >                         ^
> > /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> > geronimo/client/builder/AppClientModuleBuilder.java:320: cannot  
> > resolve symbol
> > symbol: class RemoteEJBRefAddr
> >                         RemoteEJBRefAddr addr = new
> > RemoteEJBRefAddr(objectName);
> >                                                     ^
> > /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> > geronimo/client/builder/AppClientModuleBuilder.java:321: cannot  
> > resolve symbol
> > symbol: class RemoteEJBObjectFactory
> >                         Reference reference = new Reference(null, addr,
> > RemoteEJBObjectFactory.class.getName(), null);
> >
> > ^
> > Note: Some input files use or override a deprecated API.
> > Note: Recompile with -deprecation for details.
> > 5 errors
> >
> > BUILD FAILED
> > File...... /home/karan/geronimo/maven.xml
> > Element... maven:reactor
> > Line...... 238
> > Column.... 27
> > Unable to obtain goal [default] --
> > /home/karan/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48:
> > <ant:javac> Compile failed; see the compiler error output for details.
> > Total time: 5 minutes 7 seconds
> > Finished at: Fri Oct 01 13:14:42 EDT 2004
> >
> >
> 


Re: build failed

Posted by David Jencks <dj...@gluecode.com>.
I think that until development slows down a little bit your best path  
for successful builds is to build all dependent projects together.

http://wiki.apache.org/geronimo/Building#head 
-2a72064daf87017de58dd77916b4376e55326bd8

david jencks

On Oct 1, 2004, at 10:27 AM, karan singh malhi wrote:

> hi ,
>
> i disabled maven to run tests, and the build failed.
>
>
> +----------------------------------------
> | Executing (default): Geronimo :: Client Builder
> | Memory: 13M/22M
> +----------------------------------------
> Attempting to download geronimo-xmlbeans-plugin-1.0-SNAPSHOT.jar.
> Attempting to download openejb-core-2.0-SNAPSHOT.jar.
> 1106K downloaded
> Attempting to download geronimo-common-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-connector-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-deployment-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-j2ee-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-j2ee-schema-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-naming-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-system-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-transaction-1.0-SNAPSHOT.jar.
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>
> jar:jar:
>
> jar:install:
>
>
> build:end:
>
>     [copy] Copying 1 file to /home/karan/geronimo/etc
> Plugin 'maven-deploy-plugin' in project 'Geronimo :: Client Builder' is
> not available
> build:start:
>
> default:
> java:prepare-filesystem:
>
> java:compile:
>     [depend] Deleted 0 out of date files in 0 seconds
>     [echo] Compiling to
> /home/karan/geronimo/modules/client-builder/target/classes
>     [javac] Compiling 18 source files to
> /home/karan/geronimo/modules/client-builder/target/classes
> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> geronimo/client/builder/AppClientModuleBuilder.java:74: package  
> org.openejb.client.naming does not exist
> import org.openejb.client.naming.RemoteEJBObjectFactory;
>                                  ^
> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> geronimo/client/builder/AppClientModuleBuilder.java:75: package  
> org.openejb.client.naming does not exist
> import org.openejb.client.naming.RemoteEJBRefAddr;
>                                  ^
> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> geronimo/client/builder/AppClientModuleBuilder.java:320: cannot  
> resolve symbol
> symbol: class RemoteEJBRefAddr
>                         RemoteEJBRefAddr addr = new
> RemoteEJBRefAddr(objectName);
>                         ^
> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> geronimo/client/builder/AppClientModuleBuilder.java:320: cannot  
> resolve symbol
> symbol: class RemoteEJBRefAddr
>                         RemoteEJBRefAddr addr = new
> RemoteEJBRefAddr(objectName);
>                                                     ^
> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> geronimo/client/builder/AppClientModuleBuilder.java:321: cannot  
> resolve symbol
> symbol: class RemoteEJBObjectFactory
>                         Reference reference = new Reference(null, addr,
> RemoteEJBObjectFactory.class.getName(), null);
>
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> 5 errors
>
> BUILD FAILED
> File...... /home/karan/geronimo/maven.xml
> Element... maven:reactor
> Line...... 238
> Column.... 27
> Unable to obtain goal [default] --
> /home/karan/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48:
> <ant:javac> Compile failed; see the compiler error output for details.
> Total time: 5 minutes 7 seconds
> Finished at: Fri Oct 01 13:14:42 EDT 2004
>
>


Re: build failed

Posted by karan singh malhi <ka...@verizon.net>.
Done.

You can check the wiki here 
http://wiki.apache.org/geronimo/Building?action=show#head-bfda3b0490aa0721b5b3d94d1652a563cc16e6f6

Thanks 

On Fri, 2004-10-01 at 17:53, David Jencks wrote:
> looks good except I would replace
> svn update
> 
> (which updates the copy of geronimo you just checked out 2 lines 
> earlier)
> 
> with
> maven getotherprojects
> 
> Thanks for updating this!
> 
> david jencks
> 
> On Oct 1, 2004, at 1:39 PM, karan singh malhi wrote:
> 
> > Finally,
> >
> > the build succeeded. Thanks a lot David.
> >
> > So in the wiki, i am going to write the following instructions, since i
> > dont understand the process completely, i would need some confirmation
> > from the experts.
> >
> > $ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
> > $ cd geronimo
> > $ svn update
> > $ maven multiproject:install -Dmaven.test.skip=true 
> > -Dmaven.itest.skip=true
> > [if the build fails then try the following steps:
> > 	$   maven -Dmodules=maven-itest-plugin
> > 	$   maven multiproject:install -Dmaven.test.skip=true 
> > -Dmaven.itest.skip=true
> > ]
> > $ java -jar 
> > modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/server.jar 
> > org/apache/geronimo/DebugConsole
> > $ Connect to debug console: http://localhost:8080/debug-tool/
> >
> >
> > On Fri, 2004-10-01 at 15:52, David Jencks wrote:
> >> hmm, I thought the plugin dependencies were working better than that.
> >>
> >> Try
> >>
> >> maven -Dmodules=maven-itest-plugin
> >> maven multiproject:install -Dmaven.test.skip=true
> >> -Dmaven.itest.skip=true
> >>
> >> The itest plugin provides hooks to set up and tear down an environment
> >> (such as starting geronimo and deploying and starting packages on it).
> >> In the middle it runs unit tests in the "itest" directory.
> >> maven.itest.skip and maven.itest.failure.ignore parallel the
> >> corresponding properties for tests.
> >>
> >> thanks
> >> david jencks
> >>
> >> On Oct 1, 2004, at 12:40 PM, karan singh malhi wrote:
> >>
> >>> Even after doing a multiproject install, the build failed.
> >>> i ran the following
> >>>
> >>> maven multiproject:install -Dmaven.test.skip=true
> >>> -Dmaven.itest.skip=true
> >>>
> >>> Here is the output:-
> >>>
> >>> +----------------------------------------
> >>> | Executing multiproject:install-callback OpenEJB :: Integration 
> >>> Tests
> >>> | Memory: 32M/38M
> >>> +----------------------------------------
> >>> Attempting to download tranql-1.0-SNAPSHOT.jar.
> >>> Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
> >>> Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
> >>> Attempting to download geronimo-remoting-1.0-SNAPSHOT.jar.
> >>> Attempting to download geronimo-security-1.0-SNAPSHOT.jar.
> >>> Attempting to download openejb-core-2.0-SNAPSHOT.jar.
> >>> Attempting to download openejb-assembly-2.0-SNAPSHOT.jar.
> >>>
> >>> rar:install:
> >>>
> >>>
> >>> build:end:
> >>>
> >>>     [copy] Copying 1 file to /home/karan/geronimo/openejb/etc
> >>> build:start:
> >>>
> >>> multiproject:install-callback:
> >>>     [echo] Running ejb:install for OpenEJB :: Integration Tests
> >>> Tag library requested that is not present: 'geronimo:deploy' in
> >>> plugin: 'null'
> >>> ejb:init:
> >>> java:prepare-filesystem:
> >>>
> >>> java:compile:
> >>>     [depend] Deleted 0 out of date files in 0 seconds
> >>>     [echo] Compiling to
> >>> /home/karan/geronimo/openejb/modules/itests/target/classes
> >>>
> >>> java:jar-resources:
> >>>
> >>> test:prepare-filesystem:
> >>>
> >>> test:test-resources:
> >>>
> >>> test:compile:
> >>>
> >>> test:test:
> >>>     [echo] NOTICE: Skipping tests; they seem to have passed already
> >>>     [echo] No tests to run.
> >>>
> >>>
> >>> ejb:ejb:
> >>>     [echo] Building ejb openejb-itests-2.0-SNAPSHOT
> >>> Copying: from
> >>> '/home/karan/geronimo/openejb/modules/itests/target/openejb-itests
> >>> -2.0-SNAPSHOT.jar' to:
> >>> '/home/karan/.maven/repository/openejb/ejbs/openejb-itests-2.0-
> >>> SNAPSHOT.jar'
> >>> Copying: from
> >>> '/home/karan/geronimo/openejb/modules/itests/project.xml' to:
> >>> '/home/karan/.maven/repository/openejb/poms/openejb-itests-2.0-
> >>> SNAPSHOT.pom'
> >>>
> >>> BUILD FAILED
> >>> File......
> >>> /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> >>> Element... maven:reactor
> >>> Line...... 217
> >>> Column.... 9
> >>> Unable to obtain goal [multiproject:install-callback] --
> >>> /home/karan/geronimo/openejb/modules/itests/maven.xml:21:35:
> >>> <attainGoal> No goal [itest]
> >>> Total time: 16 minutes 33 seconds
> >>> Finished at: Fri Oct 01 15:31:00 EDT 2004
> >>>
> >>>
> >>> On Fri, 2004-10-01 at 14:11, David Jencks wrote:
> >>>> I'd recommend
> >>>>
> >>>> maven multiproject:install -Dmaven.test.skip=true
> >>>> -Dmaven.itest.skip=true
> >>>>
> >>>> which will ensure you get up to date copies of everything in your
> >>>> local
> >>>> repo.
> >>>>
> >>>> In any case, running maven in openejb ought to copy
> >>>> openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself.
> >>>> Check the console output...
> >>>>
> >>>> thanks
> >>>> david jencks
> >>>>
> >>>> On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:
> >>>>
> >>>>> Hi Karan,
> >>>>>
> >>>>> This is the same problem I had a couple of days ago.  See emails 
> >>>>> with
> >>>>> subject "2 Connector tests failed".  Here are the steps I took to
> >>>>> work
> >>>>> around the problem, which will be fixed when the Maven repository
> >>>>> contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
> >>>>> 1.) Get the source of the related projects (openejb, howl, 
> >>>>> activemq,
> >>>>> etc):  "maven getotherprojects"
> >>>>> 2.) Change to the geronimo/openejb directory and run: "maven".
> >>>>> 3.) Assuming the openejb build succeeded or at least built the 
> >>>>> jars,
> >>>>> copy the openejb-core-2.0-SNAPSHOT.jar from
> >>>>> geronimo/openejb/modules/core/target directory to the  local maven
> >>>>> repository directory .maven/repository/openejb/jars (or wherever 
> >>>>> the
> >>>>> local maven repository happens to be).
> >>>>> 4.) Change to the geronimo directory and run: "maven" to build 
> >>>>> using
> >>>>> the new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the
> >>>>> missing "org.openejb.client.naming" package issue.
> >>>>>
> >>>>> Alternatively, possibly the Maven repository is already up to date
> >>>>> but
> >>>>> for some reason the openejb-core-2.0-SNAPSHOT.jar in your local
> >>>>> repository is not being replaced.  You could manually delete it and
> >>>>> then try running "maven -Dmodules=client-builder" to see if that
> >>>>> fixed
> >>>>> the problem.
> >>>>>
> >>>>> Cheers,
> >>>>> Craig
> >>>>>
> >>>>> karan singh malhi wrote:
> >>>>>
> >>>>>> hi ,
> >>>>>> i disabled maven to run tests, and the build failed.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> [snip]
> >>>>>
> >>>>>
> >>>>>> /home/karan/geronimo/modules/client-builder/src/java/org/apache/
> >>>>>> geronimo/client/builder/AppClientModuleBuilder.java:74: package
> >>>>>> org.openejb.client.naming does not exist
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
> 


Re: build failed

Posted by David Jencks <dj...@gluecode.com>.
looks good except I would replace
svn update

(which updates the copy of geronimo you just checked out 2 lines 
earlier)

with
maven getotherprojects

Thanks for updating this!

david jencks

On Oct 1, 2004, at 1:39 PM, karan singh malhi wrote:

> Finally,
>
> the build succeeded. Thanks a lot David.
>
> So in the wiki, i am going to write the following instructions, since i
> dont understand the process completely, i would need some confirmation
> from the experts.
>
> $ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
> $ cd geronimo
> $ svn update
> $ maven multiproject:install -Dmaven.test.skip=true 
> -Dmaven.itest.skip=true
> [if the build fails then try the following steps:
> 	$   maven -Dmodules=maven-itest-plugin
> 	$   maven multiproject:install -Dmaven.test.skip=true 
> -Dmaven.itest.skip=true
> ]
> $ java -jar 
> modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/server.jar 
> org/apache/geronimo/DebugConsole
> $ Connect to debug console: http://localhost:8080/debug-tool/
>
>
> On Fri, 2004-10-01 at 15:52, David Jencks wrote:
>> hmm, I thought the plugin dependencies were working better than that.
>>
>> Try
>>
>> maven -Dmodules=maven-itest-plugin
>> maven multiproject:install -Dmaven.test.skip=true
>> -Dmaven.itest.skip=true
>>
>> The itest plugin provides hooks to set up and tear down an environment
>> (such as starting geronimo and deploying and starting packages on it).
>> In the middle it runs unit tests in the "itest" directory.
>> maven.itest.skip and maven.itest.failure.ignore parallel the
>> corresponding properties for tests.
>>
>> thanks
>> david jencks
>>
>> On Oct 1, 2004, at 12:40 PM, karan singh malhi wrote:
>>
>>> Even after doing a multiproject install, the build failed.
>>> i ran the following
>>>
>>> maven multiproject:install -Dmaven.test.skip=true
>>> -Dmaven.itest.skip=true
>>>
>>> Here is the output:-
>>>
>>> +----------------------------------------
>>> | Executing multiproject:install-callback OpenEJB :: Integration 
>>> Tests
>>> | Memory: 32M/38M
>>> +----------------------------------------
>>> Attempting to download tranql-1.0-SNAPSHOT.jar.
>>> Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
>>> Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
>>> Attempting to download geronimo-remoting-1.0-SNAPSHOT.jar.
>>> Attempting to download geronimo-security-1.0-SNAPSHOT.jar.
>>> Attempting to download openejb-core-2.0-SNAPSHOT.jar.
>>> Attempting to download openejb-assembly-2.0-SNAPSHOT.jar.
>>>
>>> rar:install:
>>>
>>>
>>> build:end:
>>>
>>>     [copy] Copying 1 file to /home/karan/geronimo/openejb/etc
>>> build:start:
>>>
>>> multiproject:install-callback:
>>>     [echo] Running ejb:install for OpenEJB :: Integration Tests
>>> Tag library requested that is not present: 'geronimo:deploy' in
>>> plugin: 'null'
>>> ejb:init:
>>> java:prepare-filesystem:
>>>
>>> java:compile:
>>>     [depend] Deleted 0 out of date files in 0 seconds
>>>     [echo] Compiling to
>>> /home/karan/geronimo/openejb/modules/itests/target/classes
>>>
>>> java:jar-resources:
>>>
>>> test:prepare-filesystem:
>>>
>>> test:test-resources:
>>>
>>> test:compile:
>>>
>>> test:test:
>>>     [echo] NOTICE: Skipping tests; they seem to have passed already
>>>     [echo] No tests to run.
>>>
>>>
>>> ejb:ejb:
>>>     [echo] Building ejb openejb-itests-2.0-SNAPSHOT
>>> Copying: from
>>> '/home/karan/geronimo/openejb/modules/itests/target/openejb-itests
>>> -2.0-SNAPSHOT.jar' to:
>>> '/home/karan/.maven/repository/openejb/ejbs/openejb-itests-2.0-
>>> SNAPSHOT.jar'
>>> Copying: from
>>> '/home/karan/geronimo/openejb/modules/itests/project.xml' to:
>>> '/home/karan/.maven/repository/openejb/poms/openejb-itests-2.0-
>>> SNAPSHOT.pom'
>>>
>>> BUILD FAILED
>>> File......
>>> /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>>> Element... maven:reactor
>>> Line...... 217
>>> Column.... 9
>>> Unable to obtain goal [multiproject:install-callback] --
>>> /home/karan/geronimo/openejb/modules/itests/maven.xml:21:35:
>>> <attainGoal> No goal [itest]
>>> Total time: 16 minutes 33 seconds
>>> Finished at: Fri Oct 01 15:31:00 EDT 2004
>>>
>>>
>>> On Fri, 2004-10-01 at 14:11, David Jencks wrote:
>>>> I'd recommend
>>>>
>>>> maven multiproject:install -Dmaven.test.skip=true
>>>> -Dmaven.itest.skip=true
>>>>
>>>> which will ensure you get up to date copies of everything in your
>>>> local
>>>> repo.
>>>>
>>>> In any case, running maven in openejb ought to copy
>>>> openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself.
>>>> Check the console output...
>>>>
>>>> thanks
>>>> david jencks
>>>>
>>>> On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:
>>>>
>>>>> Hi Karan,
>>>>>
>>>>> This is the same problem I had a couple of days ago.  See emails 
>>>>> with
>>>>> subject "2 Connector tests failed".  Here are the steps I took to
>>>>> work
>>>>> around the problem, which will be fixed when the Maven repository
>>>>> contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
>>>>> 1.) Get the source of the related projects (openejb, howl, 
>>>>> activemq,
>>>>> etc):  "maven getotherprojects"
>>>>> 2.) Change to the geronimo/openejb directory and run: "maven".
>>>>> 3.) Assuming the openejb build succeeded or at least built the 
>>>>> jars,
>>>>> copy the openejb-core-2.0-SNAPSHOT.jar from
>>>>> geronimo/openejb/modules/core/target directory to the  local maven
>>>>> repository directory .maven/repository/openejb/jars (or wherever 
>>>>> the
>>>>> local maven repository happens to be).
>>>>> 4.) Change to the geronimo directory and run: "maven" to build 
>>>>> using
>>>>> the new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the
>>>>> missing "org.openejb.client.naming" package issue.
>>>>>
>>>>> Alternatively, possibly the Maven repository is already up to date
>>>>> but
>>>>> for some reason the openejb-core-2.0-SNAPSHOT.jar in your local
>>>>> repository is not being replaced.  You could manually delete it and
>>>>> then try running "maven -Dmodules=client-builder" to see if that
>>>>> fixed
>>>>> the problem.
>>>>>
>>>>> Cheers,
>>>>> Craig
>>>>>
>>>>> karan singh malhi wrote:
>>>>>
>>>>>> hi ,
>>>>>> i disabled maven to run tests, and the build failed.
>>>>>>
>>>>>>
>>>>>>
>>>>> [snip]
>>>>>
>>>>>
>>>>>> /home/karan/geronimo/modules/client-builder/src/java/org/apache/
>>>>>> geronimo/client/builder/AppClientModuleBuilder.java:74: package
>>>>>> org.openejb.client.naming does not exist
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


Re: build failed

Posted by karan singh malhi <ka...@verizon.net>.
Finally, 

the build succeeded. Thanks a lot David. 

So in the wiki, i am going to write the following instructions, since i
dont understand the process completely, i would need some confirmation
from the experts. 

$ svn checkout http://svn.apache.org/repos/asf/geronimo/trunk geronimo
$ cd geronimo
$ svn update
$ maven multiproject:install -Dmaven.test.skip=true -Dmaven.itest.skip=true  
[if the build fails then try the following steps:
	$   maven -Dmodules=maven-itest-plugin
	$   maven multiproject:install -Dmaven.test.skip=true -Dmaven.itest.skip=true
]
$ java -jar modules/assembly/target/geronimo-1.0-SNAPSHOT/bin/server.jar org/apache/geronimo/DebugConsole
$ Connect to debug console: http://localhost:8080/debug-tool/


On Fri, 2004-10-01 at 15:52, David Jencks wrote:
> hmm, I thought the plugin dependencies were working better than that.
> 
> Try
> 
> maven -Dmodules=maven-itest-plugin
> maven multiproject:install -Dmaven.test.skip=true  
> -Dmaven.itest.skip=true
> 
> The itest plugin provides hooks to set up and tear down an environment  
> (such as starting geronimo and deploying and starting packages on it).   
> In the middle it runs unit tests in the "itest" directory.   
> maven.itest.skip and maven.itest.failure.ignore parallel the  
> corresponding properties for tests.
> 
> thanks
> david jencks
> 
> On Oct 1, 2004, at 12:40 PM, karan singh malhi wrote:
> 
> > Even after doing a multiproject install, the build failed.
> > i ran the following
> >
> > maven multiproject:install -Dmaven.test.skip=true
> > -Dmaven.itest.skip=true
> >
> > Here is the output:-
> >
> > +----------------------------------------
> > | Executing multiproject:install-callback OpenEJB :: Integration Tests
> > | Memory: 32M/38M
> > +----------------------------------------
> > Attempting to download tranql-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-remoting-1.0-SNAPSHOT.jar.
> > Attempting to download geronimo-security-1.0-SNAPSHOT.jar.
> > Attempting to download openejb-core-2.0-SNAPSHOT.jar.
> > Attempting to download openejb-assembly-2.0-SNAPSHOT.jar.
> >
> > rar:install:
> >
> >
> > build:end:
> >
> >     [copy] Copying 1 file to /home/karan/geronimo/openejb/etc
> > build:start:
> >
> > multiproject:install-callback:
> >     [echo] Running ejb:install for OpenEJB :: Integration Tests
> > Tag library requested that is not present: 'geronimo:deploy' in  
> > plugin: 'null'
> > ejb:init:
> > java:prepare-filesystem:
> >
> > java:compile:
> >     [depend] Deleted 0 out of date files in 0 seconds
> >     [echo] Compiling to  
> > /home/karan/geronimo/openejb/modules/itests/target/classes
> >
> > java:jar-resources:
> >
> > test:prepare-filesystem:
> >
> > test:test-resources:
> >
> > test:compile:
> >
> > test:test:
> >     [echo] NOTICE: Skipping tests; they seem to have passed already
> >     [echo] No tests to run.
> >
> >
> > ejb:ejb:
> >     [echo] Building ejb openejb-itests-2.0-SNAPSHOT
> > Copying: from  
> > '/home/karan/geronimo/openejb/modules/itests/target/openejb-itests 
> > -2.0-SNAPSHOT.jar' to:  
> > '/home/karan/.maven/repository/openejb/ejbs/openejb-itests-2.0- 
> > SNAPSHOT.jar'
> > Copying: from  
> > '/home/karan/geronimo/openejb/modules/itests/project.xml' to:  
> > '/home/karan/.maven/repository/openejb/poms/openejb-itests-2.0- 
> > SNAPSHOT.pom'
> >
> > BUILD FAILED
> > File......  
> > /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> > Element... maven:reactor
> > Line...... 217
> > Column.... 9
> > Unable to obtain goal [multiproject:install-callback] --  
> > /home/karan/geronimo/openejb/modules/itests/maven.xml:21:35:  
> > <attainGoal> No goal [itest]
> > Total time: 16 minutes 33 seconds
> > Finished at: Fri Oct 01 15:31:00 EDT 2004
> >
> >
> > On Fri, 2004-10-01 at 14:11, David Jencks wrote:
> >> I'd recommend
> >>
> >> maven multiproject:install -Dmaven.test.skip=true
> >> -Dmaven.itest.skip=true
> >>
> >> which will ensure you get up to date copies of everything in your  
> >> local
> >> repo.
> >>
> >> In any case, running maven in openejb ought to copy
> >> openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself.
> >> Check the console output...
> >>
> >> thanks
> >> david jencks
> >>
> >> On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:
> >>
> >>> Hi Karan,
> >>>
> >>> This is the same problem I had a couple of days ago.  See emails with
> >>> subject "2 Connector tests failed".  Here are the steps I took to  
> >>> work
> >>> around the problem, which will be fixed when the Maven repository
> >>> contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
> >>> 1.) Get the source of the related projects (openejb, howl, activemq,
> >>> etc):  "maven getotherprojects"
> >>> 2.) Change to the geronimo/openejb directory and run: "maven".
> >>> 3.) Assuming the openejb build succeeded or at least built the jars,
> >>> copy the openejb-core-2.0-SNAPSHOT.jar from
> >>> geronimo/openejb/modules/core/target directory to the  local maven
> >>> repository directory .maven/repository/openejb/jars (or wherever the
> >>> local maven repository happens to be).
> >>> 4.) Change to the geronimo directory and run: "maven" to build using
> >>> the new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the
> >>> missing "org.openejb.client.naming" package issue.
> >>>
> >>> Alternatively, possibly the Maven repository is already up to date  
> >>> but
> >>> for some reason the openejb-core-2.0-SNAPSHOT.jar in your local
> >>> repository is not being replaced.  You could manually delete it and
> >>> then try running "maven -Dmodules=client-builder" to see if that  
> >>> fixed
> >>> the problem.
> >>>
> >>> Cheers,
> >>> Craig
> >>>
> >>> karan singh malhi wrote:
> >>>
> >>>> hi ,
> >>>> i disabled maven to run tests, and the build failed.
> >>>>
> >>>>
> >>>>
> >>> [snip]
> >>>
> >>>
> >>>> /home/karan/geronimo/modules/client-builder/src/java/org/apache/
> >>>> geronimo/client/builder/AppClientModuleBuilder.java:74: package
> >>>> org.openejb.client.naming does not exist
> >>>>
> >>>>
> >>>
> >>
> >
> 


Re: build failed

Posted by David Jencks <dj...@gluecode.com>.
hmm, I thought the plugin dependencies were working better than that.

Try

maven -Dmodules=maven-itest-plugin
maven multiproject:install -Dmaven.test.skip=true  
-Dmaven.itest.skip=true

The itest plugin provides hooks to set up and tear down an environment  
(such as starting geronimo and deploying and starting packages on it).   
In the middle it runs unit tests in the "itest" directory.   
maven.itest.skip and maven.itest.failure.ignore parallel the  
corresponding properties for tests.

thanks
david jencks

On Oct 1, 2004, at 12:40 PM, karan singh malhi wrote:

> Even after doing a multiproject install, the build failed.
> i ran the following
>
> maven multiproject:install -Dmaven.test.skip=true
> -Dmaven.itest.skip=true
>
> Here is the output:-
>
> +----------------------------------------
> | Executing multiproject:install-callback OpenEJB :: Integration Tests
> | Memory: 32M/38M
> +----------------------------------------
> Attempting to download tranql-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-remoting-1.0-SNAPSHOT.jar.
> Attempting to download geronimo-security-1.0-SNAPSHOT.jar.
> Attempting to download openejb-core-2.0-SNAPSHOT.jar.
> Attempting to download openejb-assembly-2.0-SNAPSHOT.jar.
>
> rar:install:
>
>
> build:end:
>
>     [copy] Copying 1 file to /home/karan/geronimo/openejb/etc
> build:start:
>
> multiproject:install-callback:
>     [echo] Running ejb:install for OpenEJB :: Integration Tests
> Tag library requested that is not present: 'geronimo:deploy' in  
> plugin: 'null'
> ejb:init:
> java:prepare-filesystem:
>
> java:compile:
>     [depend] Deleted 0 out of date files in 0 seconds
>     [echo] Compiling to  
> /home/karan/geronimo/openejb/modules/itests/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
>     [echo] NOTICE: Skipping tests; they seem to have passed already
>     [echo] No tests to run.
>
>
> ejb:ejb:
>     [echo] Building ejb openejb-itests-2.0-SNAPSHOT
> Copying: from  
> '/home/karan/geronimo/openejb/modules/itests/target/openejb-itests 
> -2.0-SNAPSHOT.jar' to:  
> '/home/karan/.maven/repository/openejb/ejbs/openejb-itests-2.0- 
> SNAPSHOT.jar'
> Copying: from  
> '/home/karan/geronimo/openejb/modules/itests/project.xml' to:  
> '/home/karan/.maven/repository/openejb/poms/openejb-itests-2.0- 
> SNAPSHOT.pom'
>
> BUILD FAILED
> File......  
> /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> Element... maven:reactor
> Line...... 217
> Column.... 9
> Unable to obtain goal [multiproject:install-callback] --  
> /home/karan/geronimo/openejb/modules/itests/maven.xml:21:35:  
> <attainGoal> No goal [itest]
> Total time: 16 minutes 33 seconds
> Finished at: Fri Oct 01 15:31:00 EDT 2004
>
>
> On Fri, 2004-10-01 at 14:11, David Jencks wrote:
>> I'd recommend
>>
>> maven multiproject:install -Dmaven.test.skip=true
>> -Dmaven.itest.skip=true
>>
>> which will ensure you get up to date copies of everything in your  
>> local
>> repo.
>>
>> In any case, running maven in openejb ought to copy
>> openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself.
>> Check the console output...
>>
>> thanks
>> david jencks
>>
>> On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:
>>
>>> Hi Karan,
>>>
>>> This is the same problem I had a couple of days ago.  See emails with
>>> subject "2 Connector tests failed".  Here are the steps I took to  
>>> work
>>> around the problem, which will be fixed when the Maven repository
>>> contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
>>> 1.) Get the source of the related projects (openejb, howl, activemq,
>>> etc):  "maven getotherprojects"
>>> 2.) Change to the geronimo/openejb directory and run: "maven".
>>> 3.) Assuming the openejb build succeeded or at least built the jars,
>>> copy the openejb-core-2.0-SNAPSHOT.jar from
>>> geronimo/openejb/modules/core/target directory to the  local maven
>>> repository directory .maven/repository/openejb/jars (or wherever the
>>> local maven repository happens to be).
>>> 4.) Change to the geronimo directory and run: "maven" to build using
>>> the new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the
>>> missing "org.openejb.client.naming" package issue.
>>>
>>> Alternatively, possibly the Maven repository is already up to date  
>>> but
>>> for some reason the openejb-core-2.0-SNAPSHOT.jar in your local
>>> repository is not being replaced.  You could manually delete it and
>>> then try running "maven -Dmodules=client-builder" to see if that  
>>> fixed
>>> the problem.
>>>
>>> Cheers,
>>> Craig
>>>
>>> karan singh malhi wrote:
>>>
>>>> hi ,
>>>> i disabled maven to run tests, and the build failed.
>>>>
>>>>
>>>>
>>> [snip]
>>>
>>>
>>>> /home/karan/geronimo/modules/client-builder/src/java/org/apache/
>>>> geronimo/client/builder/AppClientModuleBuilder.java:74: package
>>>> org.openejb.client.naming does not exist
>>>>
>>>>
>>>
>>
>


Re: build failed

Posted by karan singh malhi <ka...@verizon.net>.
Even after doing a multiproject install, the build failed. 
i ran the following

maven multiproject:install -Dmaven.test.skip=true
-Dmaven.itest.skip=true

Here is the output:-

+----------------------------------------
| Executing multiproject:install-callback OpenEJB :: Integration Tests
| Memory: 32M/38M
+----------------------------------------
Attempting to download tranql-1.0-SNAPSHOT.jar.
Attempting to download geronimo-kernel-1.0-SNAPSHOT.jar.
Attempting to download geronimo-core-1.0-SNAPSHOT.jar.
Attempting to download geronimo-remoting-1.0-SNAPSHOT.jar.
Attempting to download geronimo-security-1.0-SNAPSHOT.jar.
Attempting to download openejb-core-2.0-SNAPSHOT.jar.
Attempting to download openejb-assembly-2.0-SNAPSHOT.jar.

rar:install:


build:end:

    [copy] Copying 1 file to /home/karan/geronimo/openejb/etc
build:start:

multiproject:install-callback:
    [echo] Running ejb:install for OpenEJB :: Integration Tests
Tag library requested that is not present: 'geronimo:deploy' in plugin: 'null'
ejb:init:
java:prepare-filesystem:

java:compile:
    [depend] Deleted 0 out of date files in 0 seconds
    [echo] Compiling to /home/karan/geronimo/openejb/modules/itests/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
    [echo] NOTICE: Skipping tests; they seem to have passed already
    [echo] No tests to run.


ejb:ejb:
    [echo] Building ejb openejb-itests-2.0-SNAPSHOT
Copying: from '/home/karan/geronimo/openejb/modules/itests/target/openejb-itests-2.0-SNAPSHOT.jar' to: '/home/karan/.maven/repository/openejb/ejbs/openejb-itests-2.0-SNAPSHOT.jar'
Copying: from '/home/karan/geronimo/openejb/modules/itests/project.xml' to: '/home/karan/.maven/repository/openejb/poms/openejb-itests-2.0-SNAPSHOT.pom'

BUILD FAILED
File...... /home/karan/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- /home/karan/geronimo/openejb/modules/itests/maven.xml:21:35: <attainGoal> No goal [itest]
Total time: 16 minutes 33 seconds
Finished at: Fri Oct 01 15:31:00 EDT 2004


On Fri, 2004-10-01 at 14:11, David Jencks wrote:
> I'd recommend
> 
> maven multiproject:install -Dmaven.test.skip=true  
> -Dmaven.itest.skip=true
> 
> which will ensure you get up to date copies of everything in your local  
> repo.
> 
> In any case, running maven in openejb ought to copy  
> openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself.   
> Check the console output...
> 
> thanks
> david jencks
> 
> On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:
> 
> > Hi Karan,
> >
> > This is the same problem I had a couple of days ago.  See emails with  
> > subject "2 Connector tests failed".  Here are the steps I took to work  
> > around the problem, which will be fixed when the Maven repository  
> > contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
> > 1.) Get the source of the related projects (openejb, howl, activemq,  
> > etc):  "maven getotherprojects"
> > 2.) Change to the geronimo/openejb directory and run: "maven".
> > 3.) Assuming the openejb build succeeded or at least built the jars,  
> > copy the openejb-core-2.0-SNAPSHOT.jar from  
> > geronimo/openejb/modules/core/target directory to the  local maven  
> > repository directory .maven/repository/openejb/jars (or wherever the  
> > local maven repository happens to be).
> > 4.) Change to the geronimo directory and run: "maven" to build using  
> > the new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the  
> > missing "org.openejb.client.naming" package issue.
> >
> > Alternatively, possibly the Maven repository is already up to date but  
> > for some reason the openejb-core-2.0-SNAPSHOT.jar in your local  
> > repository is not being replaced.  You could manually delete it and  
> > then try running "maven -Dmodules=client-builder" to see if that fixed  
> > the problem.
> >
> > Cheers,
> > Craig
> >
> > karan singh malhi wrote:
> >
> >> hi ,
> >> i disabled maven to run tests, and the build failed.
> >>
> >>
> >>
> > [snip]
> >
> >
> >> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> >> geronimo/client/builder/AppClientModuleBuilder.java:74: package  
> >> org.openejb.client.naming does not exist
> >>
> >>
> >
> 


Re: build failed

Posted by karan singh malhi <ka...@verizon.net>.
Thanks David and Craig,

I did the following

maven getotherprojects
maven multiproject:install -Dmaven.test.skip=true

I dont know what -Dmaven.itest.skip=true would do. Could you please
explain that.

karan
On Fri, 2004-10-01 at 14:11, David Jencks wrote:
> I'd recommend
> 
> maven multiproject:install -Dmaven.test.skip=true  
> -Dmaven.itest.skip=true
> 
> which will ensure you get up to date copies of everything in your local  
> repo.
> 
> In any case, running maven in openejb ought to copy  
> openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself.   
> Check the console output...
> 
> thanks
> david jencks
> 
> On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:
> 
> > Hi Karan,
> >
> > This is the same problem I had a couple of days ago.  See emails with  
> > subject "2 Connector tests failed".  Here are the steps I took to work  
> > around the problem, which will be fixed when the Maven repository  
> > contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
> > 1.) Get the source of the related projects (openejb, howl, activemq,  
> > etc):  "maven getotherprojects"
> > 2.) Change to the geronimo/openejb directory and run: "maven".
> > 3.) Assuming the openejb build succeeded or at least built the jars,  
> > copy the openejb-core-2.0-SNAPSHOT.jar from  
> > geronimo/openejb/modules/core/target directory to the  local maven  
> > repository directory .maven/repository/openejb/jars (or wherever the  
> > local maven repository happens to be).
> > 4.) Change to the geronimo directory and run: "maven" to build using  
> > the new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the  
> > missing "org.openejb.client.naming" package issue.
> >
> > Alternatively, possibly the Maven repository is already up to date but  
> > for some reason the openejb-core-2.0-SNAPSHOT.jar in your local  
> > repository is not being replaced.  You could manually delete it and  
> > then try running "maven -Dmodules=client-builder" to see if that fixed  
> > the problem.
> >
> > Cheers,
> > Craig
> >
> > karan singh malhi wrote:
> >
> >> hi ,
> >> i disabled maven to run tests, and the build failed.
> >>
> >>
> >>
> > [snip]
> >
> >
> >> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
> >> geronimo/client/builder/AppClientModuleBuilder.java:74: package  
> >> org.openejb.client.naming does not exist
> >>
> >>
> >
> 


Re: build failed

Posted by David Jencks <dj...@gluecode.com>.
I'd recommend

maven multiproject:install -Dmaven.test.skip=true  
-Dmaven.itest.skip=true

which will ensure you get up to date copies of everything in your local  
repo.

In any case, running maven in openejb ought to copy  
openejb-core-2.0-SNAPSHOT.jar to your local maven repo by itself.   
Check the console output...

thanks
david jencks

On Oct 1, 2004, at 10:55 AM, Craig Johannsen wrote:

> Hi Karan,
>
> This is the same problem I had a couple of days ago.  See emails with  
> subject "2 Connector tests failed".  Here are the steps I took to work  
> around the problem, which will be fixed when the Maven repository  
> contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
> 1.) Get the source of the related projects (openejb, howl, activemq,  
> etc):  "maven getotherprojects"
> 2.) Change to the geronimo/openejb directory and run: "maven".
> 3.) Assuming the openejb build succeeded or at least built the jars,  
> copy the openejb-core-2.0-SNAPSHOT.jar from  
> geronimo/openejb/modules/core/target directory to the  local maven  
> repository directory .maven/repository/openejb/jars (or wherever the  
> local maven repository happens to be).
> 4.) Change to the geronimo directory and run: "maven" to build using  
> the new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the  
> missing "org.openejb.client.naming" package issue.
>
> Alternatively, possibly the Maven repository is already up to date but  
> for some reason the openejb-core-2.0-SNAPSHOT.jar in your local  
> repository is not being replaced.  You could manually delete it and  
> then try running "maven -Dmodules=client-builder" to see if that fixed  
> the problem.
>
> Cheers,
> Craig
>
> karan singh malhi wrote:
>
>> hi ,
>> i disabled maven to run tests, and the build failed.
>>
>>
>>
> [snip]
>
>
>> /home/karan/geronimo/modules/client-builder/src/java/org/apache/ 
>> geronimo/client/builder/AppClientModuleBuilder.java:74: package  
>> org.openejb.client.naming does not exist
>>
>>
>


Re: build failed

Posted by Craig Johannsen <cj...@shaw.ca>.
Hi Karan,

This is the same problem I had a couple of days ago.  See emails with 
subject "2 Connector tests failed".  Here are the steps I took to work 
around the problem, which will be fixed when the Maven repository 
contains an up-to-date version of openejb-core-2.0-SNAPSHOT.jar:
1.) Get the source of the related projects (openejb, howl, activemq, 
etc):  "maven getotherprojects"
2.) Change to the geronimo/openejb directory and run: "maven".
3.) Assuming the openejb build succeeded or at least built the jars, 
copy the openejb-core-2.0-SNAPSHOT.jar from 
geronimo/openejb/modules/core/target directory to the  local maven 
repository directory .maven/repository/openejb/jars (or wherever the 
local maven repository happens to be).
4.) Change to the geronimo directory and run: "maven" to build using the 
new openejb-core-2.0-SNAPSHOT.jar file.  This should fix the missing 
"org.openejb.client.naming" package issue.

Alternatively, possibly the Maven repository is already up to date but 
for some reason the openejb-core-2.0-SNAPSHOT.jar in your local 
repository is not being replaced.  You could manually delete it and then 
try running "maven -Dmodules=client-builder" to see if that fixed the 
problem.

Cheers,
Craig

karan singh malhi wrote:

>hi , 
>
>i disabled maven to run tests, and the build failed.
>
>
>  
>
[snip]


>/home/karan/geronimo/modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java:74: package org.openejb.client.naming does not exist
>
>  
>