You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Joe Bohn <jo...@earthlink.net> on 2007/01/24 15:58:21 UTC
windows build failure
I think the problem that Hernan reported last week building on Windows
is still alive and well. It doesn't seem to cause any problems on OSX.
I was hitting it yesterday and just hit it again today with the 2.0-M2
branch, rev. 499407.
It seems to me that there is something fishy with the
container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief on
windows (see the messages below between the "*******" lines I inserted
where there is an error reading and error in opening the zip file).
This results in some strange entries in my local repo for the openejb
container:
+---3.0-incubating-20070123.025044-17
| container-3.0-incubating-20070123.025044-17.pom
| container-3.0-incubating-20070123.025044-17.pom.sha1
|
\---3.0-incubating-SNAPSHOT
container-3.0-incubating-SNAPSHOT.pom
Deleting these time-stamp entries and running again doesn't seem to
avoid the problem. This is building with a completely empty repo and
clean %tmp% with a fresh checkout. I've recreated on 2 different
machines. I think something is screwed up with the pom or
maven-metadata but I'm not up on maven enough to know what it is.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Geronimo :: OpenEJB :: Builder
[INFO] task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
[INFO] Deleting directory
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
[INFO] Deleting directory
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
[INFO] [tools:require-java-version {execution: validate-java-version}]
Downloading:
http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository tomcat-m2-repo
(http://tomcat.apache.org/dev/dist/m2-repository/)
Downloading:
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository apache-incubator
(http://people.apache.org/repo/m2-incubating-repository/)
Downloading:
http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository codehaus
(http://repository.codehaus.org)
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
[WARNING] Unable to get resource from repository
apache-incubating-repository
(http://people.apache.org/repo/m2-incubating-repository)
Downloading:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
31K downloaded
[INFO] [xmlbeans:xmlbeans {execution: default}]
Time to build schema type system: 0.156 seconds
Time to generate code: 0.125 seconds
*******
error: error reading
c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
error in opening zip file
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
*******
BUILD FAILED
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
xml ErrorLoading schema file
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
xml ErrorLoading config file
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 minutes 20 seconds
[INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
[INFO] Final Memory: 62M/116M
[INFO]
------------------------------------------------------------------------
Re: windows build failure
Posted by anita kulshreshtha <a_...@yahoo.com>.
The following 2 issues are probably not causing the Error described
here, but they seem related..
1. I noticed same thing yesterday with geronimo-gbean-deployer while
investigating why old timestamped jars/cars were being downloaded.
http://www.nabble.com/Strange-file-in-configs-tf3064946.html
2. Openejb jars contain pom.properties file generated by maven. We
are getting very close to windows path length limit of ~256. Here is
the longest name (224):
C:\Documents and
Settings\XXXXX\.m2\repository\org\apache\openejb\openejb-persistence\3.0-incubating-SNAPS
HOT\openejb-presistence-3.0-incubating-SNAPSHOT.jar\META-INF\maven\org.apache.openejb\ope
nejb-persistence\pom.properties
A timestamped snapshot will add extra 22 chars to this name for a
total of 246.
Thanks
Anita
--- Joe Bohn <jo...@earthlink.net> wrote:
> I think the problem that Hernan reported last week building on
> Windows
> is still alive and well. It doesn't seem to cause any problems on
> OSX.
>
> I was hitting it yesterday and just hit it again today with the
> 2.0-M2
> branch, rev. 499407.
>
>
> It seems to me that there is something fishy with the
> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
> on
> windows (see the messages below between the "*******" lines I
> inserted
> where there is an error reading and error in opening the zip file).
>
>
> This results in some strange entries in my local repo for the openejb
>
> container:
>
> +---3.0-incubating-20070123.025044-17
> | container-3.0-incubating-20070123.025044-17.pom
> | container-3.0-incubating-20070123.025044-17.pom.sha1
> |
> \---3.0-incubating-SNAPSHOT
> container-3.0-incubating-SNAPSHOT.pom
>
>
> Deleting these time-stamp entries and running again doesn't seem to
> avoid the problem. This is building with a completely empty repo
> and
> clean %tmp% with a fresh checkout. I've recreated on 2 different
> machines. I think something is screwed up with the pom or
> maven-metadata but I'm not up on maven enough to know what it is.
>
>
>
>
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] Building Geronimo :: OpenEJB :: Builder
> [INFO] task-segment: [clean, install]
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
> [INFO] Deleting directory
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
> [INFO] Deleting directory
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
> [INFO] [tools:require-java-version {execution:
> validate-java-version}]
> Downloading:
>
http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository tomcat-m2-repo
> (http://tomcat.apache.org/dev/dist/m2-repository/)
> Downloading:
>
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository apache-incubator
> (http://people.apache.org/repo/m2-incubating-repository/)
> Downloading:
>
http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository codehaus
> (http://repository.codehaus.org)
> Downloading:
>
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository
> apache-incubating-repository
> (http://people.apache.org/repo/m2-incubating-repository)
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> 31K downloaded
> [INFO] [xmlbeans:xmlbeans {execution: default}]
> Time to build schema type system: 0.156 seconds
> Time to generate code: 0.125 seconds
>
> *******
>
> error: error reading
>
c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>
> error in opening zip file
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 error
>
> *******
>
>
> BUILD FAILED
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] XmlBeans compile failed:
> xml ErrorLoading schema file
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
> xml ErrorLoading config file
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>
> [INFO]
>
------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 12 minutes 20 seconds
> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
> [INFO] Final Memory: 62M/116M
> [INFO]
>
------------------------------------------------------------------------
>
____________________________________________________________________________________
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
Re: windows build failure
Posted by Hernan Cunico <hc...@gmail.com>.
Hi Anita,
I just tried this and got the same build failure.
Cheers!
Hernan
anita kulshreshtha wrote:
> Hernan,
> Thanks for posting the full trace. I am hoping that I will not have
> to use it.. Could you please try the following:
> 1. in your .m2 repo find
> org/apache/openejb/server/...../server-3.0-incubating-20070127.005531-23.
> It should look like this:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/server-3.0-incubating-20070127.005531-23.pom
> Please change ${version} to 3.0-incubating-SNAPSHOT and rebuild
> geronimo-openejb off line.
>
> Thanks
> Anita
>
> --- Hernan Cunico <hc...@gmail.com> wrote:
>
>> Just in case somebody is having the same prob I'm attaching "mvn
>> install -e -X >> output.txt 2>>&1"
>>
>> Cheers!
>> Hernan
>>
>> Hernan Cunico wrote:
>>> Enabling extensions did not work for me.
>>>
>>> Cheers!
>>> Hernan
>>>
>>> Donald Woods wrote:
>>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>>> changes, try changing the following line in your
>> <M2_HOME>\bin\mvn.bat -
>>>> if "%OS%"=="Windows_NT" @setlocal
>>>> to:
>>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>>
>>>>
>>>> -Donald
>>>>
>>>> Joe Bohn wrote:
>>>>> No, I haven't attempted that yet. I'll give that a try a little
>>>>> later. Right now I'm trying to see if building OpenEJB3 locally
>>>>> makes any difference since I know of at least one person that
>> isn't
>>>>> hitting this problem but has built openejb3.
>>>>>
>>>>> Thanks for the responses and ideas.
>>>>>
>>>>> Joe
>>>>>
>>>>>
>>>>> anita kulshreshtha wrote:
>>>>>> Have you tried moving these 2 files to their rightful place,
>> i.e. in
>>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>>
>>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>
>>>>>> Thanks
>>>>>> Anita
>>>>>>
>>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>>
>>>>>>> I think the problem that Hernan reported last week building on
>>>>>>> Windows is still alive and well. It doesn't seem to cause any
>>>>>>> problems on
>>>>>>> OSX.
>>>>>>>
>>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>>
>>>>>>>
>>>>>>> It seems to me that there is something fishy with the
>>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause
>> grief
>>>>>>> on windows (see the messages below between the "*******" lines
>> I
>>>>>>> inserted where there is an error reading and error in opening
>> the
>>>>>>> zip file).
>>>>>>>
>>>>>>>
>>>>>>> This results in some strange entries in my local repo for the
>> openejb
>>>>>>> container:
>>>>>>>
>>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>> |
>>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>>
>>>>>>>
>>>>>>> Deleting these time-stamp entries and running again doesn't
>> seem to
>>>>>>> avoid the problem. This is building with a completely empty
>> repo
>>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>>> different machines. I think something is screwed up with the
>> pom
>>>>>>> or maven-metadata but I'm not up on maven enough to know what
>> it is.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> [INFO]
> ----------------------------------------------------------------------------
>>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>> [INFO]
> ----------------------------------------------------------------------------
>>>>>>> [INFO] [clean:clean]
>>>>>>> [INFO] Deleting directory
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>>>> [INFO] Deleting directory
>>>>>>>
>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>>>>> [INFO] Deleting directory
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>>> validate-java-version}]
>>>>>>> Downloading:
> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>>> Downloading:
> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository
>> apache-incubator
>>>>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>>>> Downloading:
> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>>> (http://repository.codehaus.org)
>>>>>>> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>> apache-incubating-repository
>>>>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>>>>> Downloading:
> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>> 31K downloaded
>>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>>> Time to build schema type system: 0.156 seconds
>>>>>>> Time to generate code: 0.125 seconds
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>> error: error reading
> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>>>>> error in opening zip file
>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>> 1 error
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> [INFO]
> ------------------------------------------------------------------------
>>>>>>> [ERROR] BUILD ERROR
>>>>>>> [INFO]
> ------------------------------------------------------------------------
>>>>>>> [INFO] XmlBeans compile failed:
>>>>>>> xml ErrorLoading schema file
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>>>>> xml ErrorLoading config file
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>>>>> [INFO]
> ------------------------------------------------------------------------
>>>>>>> [INFO] For more information, run Maven with the -e switch
> === message truncated ===
>
>
>
>
>
> ____________________________________________________________________________________
> Need Mail bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
> http://answers.yahoo.com/dir/?link=list&sid=396546091
>
Re: windows build failure
Posted by "Jay D. McHugh" <ja...@joyfulnoisewebdesign.com>.
Kevan,
Thank you!
I'm finally past that point in the build!
Here is my JRE and environment info - maybe it will help to figure out
the problem with Xmlbeans:
I'm using Sun Java version 1.5.0_06.
JAVA_OPTS=-Xms128m -Xmx1024m
JAVA_HOME=/opt/jdk1.5.0._06
JRE_HOME not set.
Jay
Kevan Miller wrote:
> Jay,
> Thanks for the info. I'm not sure if it muddies the water or clears
> it... The problem seems to be a problem with the Xmlbeans plugin. I
> raised a jira last night-- http://jira.codehaus.org/browse/MXMLBEANS-34
>
> It looks like the Xmlbeans plugin is adding the container pom to the
> CLASSPATH of an Xmlbeans compilation phase. This causes the "error in
> opening zip file" problem (and supposedly the subsequent problems).
>
> There seems to be some JRE runtime or environmental issue that causes
> this problem. Just hard to know what...
>
> The problem can be avoided by editing the openejb server pom (i.e.
> ~/.m2/repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/server-3.0-incubating-SNAPSHOT.pom)
> and removing the dependency on the openejb container pom as follows:
>
> <dependencies>
> <!--
> This dependency is here to ensure that absolutely nothing
> under the container module section can be dependent on any
> server modules.
> -->
> <!-- <dependency> -->
> <!-- <groupId>org.apache.openejb</groupId> -->
> <!-- <artifactId>container</artifactId> -->
> <!-- <version>${version}</version> -->
> <!-- <type>pom</type> -->
> <!-- <scope>compile</scope> -->
> <!-- </dependency> -->
> </dependencies>
>
> This dependency is only needed by OpenEJB to detect invalid
> dependencies at OpenEJB build-time. So, I'm going to see if I can work
> up an exclude in Geronimo which will work around this issue...
>
> --kevan
Re: windows build failure
Posted by Kevan Miller <ke...@gmail.com>.
On Jan 30, 2007, at 10:38 AM, Jay D. McHugh wrote:
> Hello everyone,
>
> I am hoping that I am not the only person on Linux who is
> experiencing the same error. But, from a fresh trunk checkout - I
> get this same error.
>
> I have tried every fix that I have read in the build failure
> threads (that would apply to Linux anyway) and I have not been able
> to get a successful server build for over a week. They all fail
> with the same error:
>
> <snippet of build log>
> [INFO] snapshot org.apache.openejb:openejb-loader:3.0-incubating-
> SNAPSHOT: checking for updates from apache-snapshots
> [INFO] snapshot org.apache.openejb:openejb-loader:3.0-incubating-
> SNAPSHOT: checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.openejb:openejb-loader:3.0-incubating-
> SNAPSHOT: checking for updates from apache.snapshots
> [INFO] snapshot org.apache.openejb:openejb-server:3.0-incubating-
> SNAPSHOT: checking for updates from apache-snapshots
> [INFO] snapshot org.apache.openejb:openejb-server:3.0-incubating-
> SNAPSHOT: checking for updates from codehaus-snapshots
> [INFO] snapshot org.apache.openejb:openejb-server:3.0-incubating-
> SNAPSHOT: checking for updates from apache.snapshots
> [INFO] [xmlbeans:xmlbeans {execution: default}]
> Time to build schema type system: 7.65 seconds
> Time to generate code: 0.363 seconds
> error: error reading /home/builder/.m2/repository/org/apache/
> openejb/container/3.0-incubating-SNAPSHOT/container-3.0-incubating-
> SNAPSHOT.pom; error in opening zip file
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 error
>
> BUILD FAILED
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] XmlBeans compile failed:
> xml ErrorLoading schema file /usr/src/geronimo/modules/geronimo-
> openejb-builder/src/main/schema/geronimo-openejb-2.0.xsd
> xml ErrorLoading config file /usr/src/geronimo/modules/geronimo-
> openejb-builder/src/main/schema/xmlconfig.xml
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 1 minute 14 seconds
> [INFO] Finished at: Tue Jan 30 09:12:20 CST 2007
> [INFO] Final Memory: 22M/40M
> [INFO]
> ----------------------------------------------------------------------
> --
>
> </snippet of build log>
>
> I have made sure that the repo is clean for openejb/container (it
> has no timestamp artifacts) and have tried building off and on-line.
>
> Nothing seems to work.
>
> So, I don't think this is really a windows build error - just that
> it has been cropping up there more that on Linux.
>
> Does the fact that it is happening on Linux too open up possible
> solutions? Or does it just muddy the water? (Hopefully the former
> - I miss running on bleeding edge builds)
Jay,
Thanks for the info. I'm not sure if it muddies the water or clears
it... The problem seems to be a problem with the Xmlbeans plugin. I
raised a jira last night-- http://jira.codehaus.org/browse/MXMLBEANS-34
It looks like the Xmlbeans plugin is adding the container pom to the
CLASSPATH of an Xmlbeans compilation phase. This causes the "error in
opening zip file" problem (and supposedly the subsequent problems).
There seems to be some JRE runtime or environmental issue that causes
this problem. Just hard to know what...
The problem can be avoided by editing the openejb server pom (i.e.
~/.m2/repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/
server-3.0-incubating-SNAPSHOT.pom) and removing the dependency on
the openejb container pom as follows:
<dependencies>
<!--
This dependency is here to ensure that absolutely nothing
under the container module section can be dependent on any
server modules.
-->
<!-- <dependency> -->
<!-- <groupId>org.apache.openejb</groupId> -->
<!-- <artifactId>container</artifactId> -->
<!-- <version>${version}</version> -->
<!-- <type>pom</type> -->
<!-- <scope>compile</scope> -->
<!-- </dependency> -->
</dependencies>
This dependency is only needed by OpenEJB to detect invalid
dependencies at OpenEJB build-time. So, I'm going to see if I can
work up an exclude in Geronimo which will work around this issue...
--kevan
Re: windows build failure
Posted by "Jay D. McHugh" <ja...@joyfulnoisewebdesign.com>.
Hello everyone,
I am hoping that I am not the only person on Linux who is experiencing
the same error. But, from a fresh trunk checkout - I get this same error.
I have tried every fix that I have read in the build failure threads
(that would apply to Linux anyway) and I have not been able to get a
successful server build for over a week. They all fail with the same error:
<snippet of build log>
[INFO] snapshot
org.apache.openejb:openejb-loader:3.0-incubating-SNAPSHOT: checking for
updates from apache-snapshots
[INFO] snapshot
org.apache.openejb:openejb-loader:3.0-incubating-SNAPSHOT: checking for
updates from codehaus-snapshots
[INFO] snapshot
org.apache.openejb:openejb-loader:3.0-incubating-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] snapshot
org.apache.openejb:openejb-server:3.0-incubating-SNAPSHOT: checking for
updates from apache-snapshots
[INFO] snapshot
org.apache.openejb:openejb-server:3.0-incubating-SNAPSHOT: checking for
updates from codehaus-snapshots
[INFO] snapshot
org.apache.openejb:openejb-server:3.0-incubating-SNAPSHOT: checking for
updates from apache.snapshots
[INFO] [xmlbeans:xmlbeans {execution: default}]
Time to build schema type system: 7.65 seconds
Time to generate code: 0.363 seconds
error: error reading
/home/builder/.m2/repository/org/apache/openejb/container/3.0-incubating-SNAPSHOT/container-3.0-incubating-SNAPSHOT.pom;
error in opening zip file
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
BUILD FAILED
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
xml ErrorLoading schema file
/usr/src/geronimo/modules/geronimo-openejb-builder/src/main/schema/geronimo-openejb-2.0.xsd
xml ErrorLoading config file
/usr/src/geronimo/modules/geronimo-openejb-builder/src/main/schema/xmlconfig.xml
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 14 seconds
[INFO] Finished at: Tue Jan 30 09:12:20 CST 2007
[INFO] Final Memory: 22M/40M
[INFO]
------------------------------------------------------------------------
</snippet of build log>
I have made sure that the repo is clean for openejb/container (it has no
timestamp artifacts) and have tried building off and on-line.
Nothing seems to work.
So, I don't think this is really a windows build error - just that it
has been cropping up there more that on Linux.
Does the fact that it is happening on Linux too open up possible
solutions? Or does it just muddy the water? (Hopefully the former - I
miss running on bleeding edge builds)
Jay
anita kulshreshtha wrote:
> Hernan,
> Thanks for posting the full trace. I am hoping that I will not have
> to use it.. Could you please try the following:
> 1. in your .m2 repo find
> org/apache/openejb/server/...../server-3.0-incubating-20070127.005531-23.
> It should look like this:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/server-3.0-incubating-20070127.005531-23.pom
> Please change ${version} to 3.0-incubating-SNAPSHOT and rebuild
> geronimo-openejb off line.
>
> Thanks
> Anita
>
> --- Hernan Cunico <hc...@gmail.com> wrote:
>
>
>> Just in case somebody is having the same prob I'm attaching "mvn
>> install -e -X >> output.txt 2>>&1"
>>
>> Cheers!
>> Hernan
>>
>> Hernan Cunico wrote:
>>
>>> Enabling extensions did not work for me.
>>>
>>> Cheers!
>>> Hernan
>>>
>>> Donald Woods wrote:
>>>
>>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>>> changes, try changing the following line in your
>>>>
>> <M2_HOME>\bin\mvn.bat -
>>
>>>> if "%OS%"=="Windows_NT" @setlocal
>>>> to:
>>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>>
>>>>
>>>> -Donald
>>>>
>>>> Joe Bohn wrote:
>>>>
>>>>> No, I haven't attempted that yet. I'll give that a try a little
>>>>> later. Right now I'm trying to see if building OpenEJB3 locally
>>>>> makes any difference since I know of at least one person that
>>>>>
>> isn't
>>
>>>>> hitting this problem but has built openejb3.
>>>>>
>>>>> Thanks for the responses and ideas.
>>>>>
>>>>> Joe
>>>>>
>>>>>
>>>>> anita kulshreshtha wrote:
>>>>>
>>>>>> Have you tried moving these 2 files to their rightful place,
>>>>>>
>> i.e. in
>>
>>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>>
>>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>
>>>>>> Thanks
>>>>>> Anita
>>>>>>
>>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>>
>>>>>>
>>>>>>> I think the problem that Hernan reported last week building on
>>>>>>> Windows is still alive and well. It doesn't seem to cause any
>>>>>>> problems on
>>>>>>> OSX.
>>>>>>>
>>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>>
>>>>>>>
>>>>>>> It seems to me that there is something fishy with the
>>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause
>>>>>>>
>> grief
>>
>>>>>>> on windows (see the messages below between the "*******" lines
>>>>>>>
>> I
>>
>>>>>>> inserted where there is an error reading and error in opening
>>>>>>>
>> the
>>
>>>>>>> zip file).
>>>>>>>
>>>>>>>
>>>>>>> This results in some strange entries in my local repo for the
>>>>>>>
>> openejb
>>
>>>>>>> container:
>>>>>>>
>>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>> |
>>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>>
>>>>>>>
>>>>>>> Deleting these time-stamp entries and running again doesn't
>>>>>>>
>> seem to
>>
>>>>>>> avoid the problem. This is building with a completely empty
>>>>>>>
>> repo
>>
>>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>>> different machines. I think something is screwed up with the
>>>>>>>
>> pom
>>
>>>>>>> or maven-metadata but I'm not up on maven enough to know what
>>>>>>>
>> it is.
>>
>>>>>>>
>>>>>>>
>>>>>>> [INFO]
>>>>>>>
> ----------------------------------------------------------------------------
>
>>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>> [INFO]
>>>>>>>
> ----------------------------------------------------------------------------
>
>>>>>>> [INFO] [clean:clean]
>>>>>>> [INFO] Deleting directory
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>>>> [INFO] Deleting directory
>>>>>>>
>>>>>>>
>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>
>>>>>>> [INFO] Deleting directory
>>>>>>>
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>
>>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>>> validate-java-version}]
>>>>>>> Downloading:
>>>>>>>
> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
>>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>>>>>
>>>>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>>> Downloading:
>>>>>>>
> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>>
>> apache-incubator
>>
>>>>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>>>> Downloading:
>>>>>>>
> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
>>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>>> (http://repository.codehaus.org)
>>>>>>> Downloading:
>>>>>>>
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>> apache-incubating-repository
>>>>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>>>>> Downloading:
>>>>>>>
> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
>>>>>>> 31K downloaded
>>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>>> Time to build schema type system: 0.156 seconds
>>>>>>> Time to generate code: 0.125 seconds
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>> error: error reading
>>>>>>>
> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>
>>>>>>> error in opening zip file
>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>> 1 error
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> [INFO]
>>>>>>>
> ------------------------------------------------------------------------
>
>>>>>>> [ERROR] BUILD ERROR
>>>>>>> [INFO]
>>>>>>>
> ------------------------------------------------------------------------
>
>>>>>>> [INFO] XmlBeans compile failed:
>>>>>>> xml ErrorLoading schema file
>>>>>>>
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>
>>>>>>> xml ErrorLoading config file
>>>>>>>
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>
>>>>>>> [INFO]
>>>>>>>
> ------------------------------------------------------------------------
>
>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>>
> === message truncated ===
>
>
>
>
>
> ____________________________________________________________________________________
> Need Mail bonding?
> Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
> http://answers.yahoo.com/dir/?link=list&sid=396546091
>
>
>
>
Re: windows build failure
Posted by Kevan Miller <ke...@gmail.com>.
On Jan 30, 2007, at 11:41 AM, Jay D. McHugh wrote:
> Anita,
>
> The workaround that Kevan sent (commenting out the dependency in
> openejb/server) worked.
>
> Thanks for offering your help though.
>
> Jay
>
> anita kulshreshtha wrote:
>> Jay,
>> I am so glad to see this on linux! I can not seem to reproduce
>> this
>> error.. So I am going to ask for your help. Could you please post the
>> trace (mvn -e -X...) with the following fix.
>>
>> Thanks
>> Anita
>>
>> --- anita kulshreshtha <a_...@yahoo.com> wrote:
>>
>>
>>> Hernan, Thanks for posting the full trace. I am hoping that I
>>> will not
>>> have
>>> to use it.. Could you please try the following:
>>> 1. in your .m2 repo find a file named:
>>>
>>>
>> org/apache/openejb/server/...../server-3.0-
>> incubating-20070127.005531-23.pom
>>
>>> It should look like this:
>>>
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/
>> openejb/server/3.0-incubating-SNAPSHOT/server-3.0-
>> incubating-20070127.005531-23.pom
>>
>>> Please change ${version} to 3.0-incubating-SNAPSHOT and rebuild
>>>
It would be good if somebody tried this (without my work-around ;-).
--kevan
Re: windows build failure
Posted by "Jay D. McHugh" <ja...@joyfulnoisewebdesign.com>.
Anita,
The workaround that Kevan sent (commenting out the dependency in
openejb/server) worked.
Thanks for offering your help though.
Jay
anita kulshreshtha wrote:
> Jay,
> I am so glad to see this on linux! I can not seem to reproduce this
> error.. So I am going to ask for your help. Could you please post the
> trace (mvn -e -X...) with the following fix.
>
> Thanks
> Anita
>
> --- anita kulshreshtha <a_...@yahoo.com> wrote:
>
>
>> Hernan,
>> Thanks for posting the full trace. I am hoping that I will not
>> have
>> to use it.. Could you please try the following:
>> 1. in your .m2 repo find a file named:
>>
>>
> org/apache/openejb/server/...../server-3.0-incubating-20070127.005531-23.pom
>
>> It should look like this:
>>
>>
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/server-3.0-incubating-20070127.005531-23.pom
>
>> Please change ${version} to 3.0-incubating-SNAPSHOT and rebuild
>>
> geronimo-openejb off line.
>
>> Thanks
>> Anita
>>
>> --- Hernan Cunico <hc...@gmail.com> wrote:
>>
>>
>>> Just in case somebody is having the same prob I'm attaching "mvn
>>> install -e -X >> output.txt 2>>&1"
>>>
>>> Cheers!
>>> Hernan
>>>
>>>
>
>
>>>>>>>> *******
>>>>>>>>
>>>>>>>> error: error reading
>>>>>>>>
> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>
>>>>>>>> error in opening zip file
>>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>>>
> === message truncated ===
>
>
>
>
> ____________________________________________________________________________________
> Be a PS3 game guru.
> Get your game face on with the latest PS3 news and previews at Yahoo! Games.
> http://videogames.yahoo.com/platform?platform=120121
>
>
>
>
Re: windows build failure
Posted by anita kulshreshtha <a_...@yahoo.com>.
Jay,
I am so glad to see this on linux! I can not seem to reproduce this
error.. So I am going to ask for your help. Could you please post the
trace (mvn -e -X...) with the following fix.
Thanks
Anita
--- anita kulshreshtha <a_...@yahoo.com> wrote:
> Hernan,
> Thanks for posting the full trace. I am hoping that I will not
> have
> to use it.. Could you please try the following:
> 1. in your .m2 repo find a file named:
>
org/apache/openejb/server/...../server-3.0-incubating-20070127.005531-23.pom
> It should look like this:
>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/server-3.0-incubating-20070127.005531-23.pom
> Please change ${version} to 3.0-incubating-SNAPSHOT and rebuild
geronimo-openejb off line.
>
> Thanks
> Anita
>
> --- Hernan Cunico <hc...@gmail.com> wrote:
>
> > Just in case somebody is having the same prob I'm attaching "mvn
> > install -e -X >> output.txt 2>>&1"
> >
> > Cheers!
> > Hernan
> >
> > >>>>> *******
> > >>>>>
> > >>>>> error: error reading
> > >>>>
> >
>
c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
> >
> > >>>>
> > >>>>> error in opening zip file
> > >>>>> Note: Some input files use or override a deprecated API.
> > >>>>> Note: Recompile with -Xlint:deprecation for details.
>
=== message truncated ===
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
Re: windows build failure
Posted by anita kulshreshtha <a_...@yahoo.com>.
Hernan,
Thanks for posting the full trace. I am hoping that I will not have
to use it.. Could you please try the following:
1. in your .m2 repo find
org/apache/openejb/server/...../server-3.0-incubating-20070127.005531-23.
It should look like this:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/openejb/server/3.0-incubating-SNAPSHOT/server-3.0-incubating-20070127.005531-23.pom
Please change ${version} to 3.0-incubating-SNAPSHOT and rebuild
geronimo-openejb off line.
Thanks
Anita
--- Hernan Cunico <hc...@gmail.com> wrote:
> Just in case somebody is having the same prob I'm attaching "mvn
> install -e -X >> output.txt 2>>&1"
>
> Cheers!
> Hernan
>
> Hernan Cunico wrote:
> > Enabling extensions did not work for me.
> >
> > Cheers!
> > Hernan
> >
> > Donald Woods wrote:
> >> If you're using WinXP or Win2003 without Cygwin or other shell
> >> changes, try changing the following line in your
> <M2_HOME>\bin\mvn.bat -
> >> if "%OS%"=="Windows_NT" @setlocal
> >> to:
> >> if "%OS%"=="Windows_NT" @setlocal enableextensions
> >>
> >>
> >> -Donald
> >>
> >> Joe Bohn wrote:
> >>> No, I haven't attempted that yet. I'll give that a try a little
> >>> later. Right now I'm trying to see if building OpenEJB3 locally
> >>> makes any difference since I know of at least one person that
> isn't
> >>> hitting this problem but has built openejb3.
> >>>
> >>> Thanks for the responses and ideas.
> >>>
> >>> Joe
> >>>
> >>>
> >>> anita kulshreshtha wrote:
> >>>> Have you tried moving these 2 files to their rightful place,
> i.e. in
> >>>> 3.0-incubating-SNAPSHOT directory?
> >>>>
> >>>> container-3.0-incubating-20070123.025044-17.pom
> >>>> container-3.0-incubating-20070123.025044-17.pom.sha1
> >>>>
> >>>> Thanks
> >>>> Anita
> >>>>
> >>>> --- Joe Bohn <jo...@earthlink.net> wrote:
> >>>>
> >>>>> I think the problem that Hernan reported last week building on
> >>>>> Windows is still alive and well. It doesn't seem to cause any
> >>>>> problems on
> >>>>> OSX.
> >>>>>
> >>>>> I was hitting it yesterday and just hit it again today with the
> >>>>> 2.0-M2 branch, rev. 499407.
> >>>>>
> >>>>>
> >>>>> It seems to me that there is something fishy with the
> >>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause
> grief
> >>>>> on windows (see the messages below between the "*******" lines
> I
> >>>>> inserted where there is an error reading and error in opening
> the
> >>>>> zip file).
> >>>>>
> >>>>>
> >>>>> This results in some strange entries in my local repo for the
> openejb
> >>>>>
> >>>>> container:
> >>>>>
> >>>>> +---3.0-incubating-20070123.025044-17
> >>>>> | container-3.0-incubating-20070123.025044-17.pom
> >>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
> >>>>> |
> >>>>> \---3.0-incubating-SNAPSHOT
> >>>>> container-3.0-incubating-SNAPSHOT.pom
> >>>>>
> >>>>>
> >>>>> Deleting these time-stamp entries and running again doesn't
> seem to
> >>>>> avoid the problem. This is building with a completely empty
> repo
> >>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
> >>>>> different machines. I think something is screwed up with the
> pom
> >>>>> or maven-metadata but I'm not up on maven enough to know what
> it is.
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> [INFO]
> >>>>
>
----------------------------------------------------------------------------
>
> >>>>
> >>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
> >>>>> [INFO] task-segment: [clean, install]
> >>>>> [INFO]
> >>>>
>
----------------------------------------------------------------------------
>
> >>>>
> >>>>> [INFO] [clean:clean]
> >>>>> [INFO] Deleting directory
> >>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
> >>>>> [INFO] Deleting directory
> >>>>>
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
> >>>>> [INFO] Deleting directory
> >>>>
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
> >>>>> [INFO] [tools:require-java-version {execution:
> >>>>> validate-java-version}]
> >>>>> Downloading:
> >>>>
>
http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
> >>>>
> >>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>
> >>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
> >>>>> Downloading:
> >>>>
>
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
> >>>>
> >>>>> [WARNING] Unable to get resource from repository
> apache-incubator
> >>>>> (http://people.apache.org/repo/m2-incubating-repository/)
> >>>>> Downloading:
> >>>>
>
http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
> >>>>
> >>>>> [WARNING] Unable to get resource from repository codehaus
> >>>>> (http://repository.codehaus.org)
> >>>>> Downloading:
> >>>>
>
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
> >>>>
> >>>>> [WARNING] Unable to get resource from repository
> >>>>> apache-incubating-repository
> >>>>> (http://people.apache.org/repo/m2-incubating-repository)
> >>>>> Downloading:
> >>>>
>
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>
> >>>>
> >>>>> 31K downloaded
> >>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
> >>>>> Time to build schema type system: 0.156 seconds
> >>>>> Time to generate code: 0.125 seconds
> >>>>>
> >>>>> *******
> >>>>>
> >>>>> error: error reading
> >>>>
>
c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>
> >>>>
> >>>>> error in opening zip file
> >>>>> Note: Some input files use or override a deprecated API.
> >>>>> Note: Recompile with -Xlint:deprecation for details.
> >>>>> 1 error
> >>>>>
> >>>>> *******
> >>>>>
> >>>>>
> >>>>> BUILD FAILED
> >>>>> [INFO]
> >>>>
>
------------------------------------------------------------------------
>
> >>>>
> >>>>> [ERROR] BUILD ERROR
> >>>>> [INFO]
> >>>>
>
------------------------------------------------------------------------
>
> >>>>
> >>>>> [INFO] XmlBeans compile failed:
> >>>>> xml ErrorLoading schema file
> >>>>
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>
> >>>>
> >>>>> xml ErrorLoading config file
> >>>>
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>
> >>>>
> >>>>> [INFO]
> >>>>
>
------------------------------------------------------------------------
>
> >>>>
> >>>>> [INFO] For more information, run Maven with the -e switch
>
=== message truncated ===
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
Re: windows build failure
Posted by David Jencks <da...@yahoo.com>.
I looked at this a little bit and think that the problem is that
xmlbeans is trying to open the openejb container pom as if it were a
zip file, to look inside for precompiled schemas. I suspect it can
best be fixed in the xmlbeans plugin. Kevan opened a jira for it
http://jira.codehaus.org/browse/MXMLBEANS-34
I have no idea why it afflicts some people and not others: I'd expect
it to break the build for everyone.
thanks
david jencks
On Jan 30, 2007, at 8:05 AM, Tim McConnell wrote:
> Hi Hernan, I just compared your output with mine (which is working
> for me on Windows) and only see a few subtle environment
> differences. Here are mine, but I doubt they'd change your results
> though:
>
> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
> JAVA_OPTS=-Xms512m -Xmx512m
> M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.4
>
>
> Hernan Cunico wrote:
>> Just in case somebody is having the same prob I'm attaching "mvn
>> install -e -X >> output.txt 2>>&1"
>> Cheers!
>> Hernan
>> Hernan Cunico wrote:
>>> Enabling extensions did not work for me.
>>>
>>> Cheers!
>>> Hernan
>>>
>>> Donald Woods wrote:
>>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>>> changes, try changing the following line in your <M2_HOME>\bin
>>>> \mvn.bat -
>>>> if "%OS%"=="Windows_NT" @setlocal
>>>> to:
>>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>>
>>>>
>>>> -Donald
>>>>
>>>> Joe Bohn wrote:
>>>>> No, I haven't attempted that yet. I'll give that a try a
>>>>> little later. Right now I'm trying to see if building OpenEJB3
>>>>> locally makes any difference since I know of at least one
>>>>> person that isn't hitting this problem but has built openejb3.
>>>>>
>>>>> Thanks for the responses and ideas.
>>>>>
>>>>> Joe
>>>>>
>>>>>
>>>>> anita kulshreshtha wrote:
>>>>>> Have you tried moving these 2 files to their rightful place,
>>>>>> i.e. in
>>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>>
>>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>
>>>>>> Thanks
>>>>>> Anita
>>>>>>
>>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>>
>>>>>>> I think the problem that Hernan reported last week building on
>>>>>>> Windows is still alive and well. It doesn't seem to cause
>>>>>>> any problems on
>>>>>>> OSX.
>>>>>>>
>>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>>
>>>>>>>
>>>>>>> It seems to me that there is something fishy with the
>>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to
>>>>>>> cause grief
>>>>>>> on windows (see the messages below between the "*******" lines I
>>>>>>> inserted where there is an error reading and error in opening
>>>>>>> the zip file).
>>>>>>>
>>>>>>>
>>>>>>> This results in some strange entries in my local repo for the
>>>>>>> openejb
>>>>>>>
>>>>>>> container:
>>>>>>>
>>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>> |
>>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>>
>>>>>>>
>>>>>>> Deleting these time-stamp entries and running again doesn't
>>>>>>> seem to avoid the problem. This is building with a
>>>>>>> completely empty repo
>>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>>> different machines. I think something is screwed up with
>>>>>>> the pom or maven-metadata but I'm not up on maven enough to
>>>>>>> know what it is.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> [INFO]
>>>>>> -----------------------------------------------------------------
>>>>>> -----------
>>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>> [INFO]
>>>>>> -----------------------------------------------------------------
>>>>>> -----------
>>>>>>> [INFO] [clean:clean]
>>>>>>> [INFO] Deleting directory C:\geronimo2.0-M2\modules\geronimo-
>>>>>>> openejb-builder\target
>>>>>>> [INFO] Deleting directory C:\geronimo2.0-M2\modules\geronimo-
>>>>>>> openejb-builder\target\classes
>>>>>>> [INFO] Deleting directory
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-
>>>>>> classes
>>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>>> validate-java-version}]
>>>>>>> Downloading:
>>>>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/
>>>>>> geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-
>>>>>> ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-
>>>>>>> repo (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>>> Downloading:
>>>>>> http://people.apache.org/repo/m2-incubating-repository//org/
>>>>>> apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-
>>>>>> ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository apache-
>>>>>>> incubator (http://people.apache.org/repo/m2-incubating-
>>>>>>> repository/)
>>>>>>> Downloading:
>>>>>> http://repository.codehaus.org/org/apache/geronimo/specs/
>>>>>> geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>>> (http://repository.codehaus.org)
>>>>>>> Downloading:
>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/
>>>>>> apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-
>>>>>> ejb_3.0_spec-1.0-M1.jar
>>>>>>> [WARNING] Unable to get resource from repository apache-
>>>>>>> incubating-repository (http://people.apache.org/repo/m2-
>>>>>>> incubating-repository)
>>>>>>> Downloading:
>>>>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/
>>>>>> geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>> 31K downloaded
>>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>>> Time to build schema type system: 0.156 seconds
>>>>>>> Time to generate code: 0.125 seconds
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>> error: error reading
>>>>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT
>>>>>> \container-3.0-incubating-SNAPSHOT.pom;
>>>>>>> error in opening zip file
>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>> 1 error
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> [INFO]
>>>>>> -----------------------------------------------------------------
>>>>>> -------
>>>>>>> [ERROR] BUILD ERROR
>>>>>>> [INFO]
>>>>>> -----------------------------------------------------------------
>>>>>> -------
>>>>>>> [INFO] XmlBeans compile failed:
>>>>>>> xml ErrorLoading schema file
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main
>>>>>> \schema\geronimo-openejb-2.0.xsd
>>>>>>> xml ErrorLoading config file
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main
>>>>>> \schema\xmlconfig.xml
>>>>>>> [INFO]
>>>>>> -----------------------------------------------------------------
>>>>>> -------
>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>> [INFO]
>>>>>> -----------------------------------------------------------------
>>>>>> -------
>>>>>>> [INFO] Total time: 12 minutes 20 seconds
>>>>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>>>>> [INFO] Final Memory: 62M/116M
>>>>>>> [INFO]
>>>>>> -----------------------------------------------------------------
>>>>>> -------
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________
>>>>>> ___________________
>>>>>> Don't get soaked. Take a quick peak at the forecast
>>>>>> with the Yahoo! Search weather shortcut.
>>>>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>>>>
>>>>>
>>>>>
>>>
>
> --
> Thanks,
> Tim McConnell
Re: windows build failure
Posted by David Jencks <da...@yahoo.com>.
Is stax-1.1.1 really required now for geronimo-service-builder? This
seems really really strange to me... can someone explain?
thanks
david jencks
On Jan 30, 2007, at 8:25 AM, Hernan Cunico wrote:
> Hi Tim,
> I tried with jdk1.5.0_06 through jdk1.5.0_10, no difference.
> I also tried moving the M2 repo all around but had the same results.
>
> I am not specifying any heap sz in JAVA_OPTS, instead I use this
> specific for maven "MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m -
> Dmaven.test.skip=true". I don't think this diff could cause such a
> consistent build failure. Either way I just tried that (switching
> MVN and JAVA opts) and did not work.
>
> I also tried Kevan's suggestion of removing the specific version in
> the root pom but with that I got a different build error. Actually
> did not got that far in the build.
>
> Joe, is this the same error you saw on your machine?
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=xmlbeans -
> DartifactId=xmlbeans-jsr173-api \
> -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1) org.apache.geronimo.modules:geronimo-service-builder:jar:
> 2.0-SNAPSHOT
> 2) stax:stax:jar:1.1.1-dev
> 3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.apache.geronimo.modules:geronimo-service-builder:jar:2.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-
> repository),
> codehaus (http://repository.codehaus.org),
> apache-snapshots (http://people.apache.org/repo/m2-snapshot-
> repository),
> codehaus-snapshots (http://snapshots.repository.codehaus.org),
> apache-incubator (http://people.apache.org/repo/m2-incubating-
> repository/),
> tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository/)
>
> Cheers!
> Hernan
>
>
> Tim McConnell wrote:
>> Hi Hernan, I just compared your output with mine (which is working
>> for me on Windows) and only see a few subtle environment
>> differences. Here are mine, but I doubt they'd change your results
>> though:
>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
>> JAVA_OPTS=-Xms512m -Xmx512m
>> M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.4
>> Hernan Cunico wrote:
>>> Just in case somebody is having the same prob I'm attaching "mvn
>>> install -e -X >> output.txt 2>>&1"
>>>
>>> Cheers!
>>> Hernan
>>>
>>> Hernan Cunico wrote:
>>>> Enabling extensions did not work for me.
>>>>
>>>> Cheers!
>>>> Hernan
>>>>
>>>> Donald Woods wrote:
>>>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>>>> changes, try changing the following line in your <M2_HOME>\bin
>>>>> \mvn.bat -
>>>>> if "%OS%"=="Windows_NT" @setlocal
>>>>> to:
>>>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>>>
>>>>>
>>>>> -Donald
>>>>>
>>>>> Joe Bohn wrote:
>>>>>> No, I haven't attempted that yet. I'll give that a try a
>>>>>> little later. Right now I'm trying to see if building
>>>>>> OpenEJB3 locally makes any difference since I know of at least
>>>>>> one person that isn't hitting this problem but has built
>>>>>> openejb3.
>>>>>>
>>>>>> Thanks for the responses and ideas.
>>>>>>
>>>>>> Joe
>>>>>>
>>>>>>
>>>>>> anita kulshreshtha wrote:
>>>>>>> Have you tried moving these 2 files to their rightful
>>>>>>> place, i.e. in
>>>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>>>
>>>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>>
>>>>>>> Thanks
>>>>>>> Anita
>>>>>>>
>>>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>>>
>>>>>>>> I think the problem that Hernan reported last week building on
>>>>>>>> Windows is still alive and well. It doesn't seem to cause
>>>>>>>> any problems on
>>>>>>>> OSX.
>>>>>>>>
>>>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>>>
>>>>>>>>
>>>>>>>> It seems to me that there is something fishy with the
>>>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to
>>>>>>>> cause grief
>>>>>>>> on windows (see the messages below between the "*******"
>>>>>>>> lines I
>>>>>>>> inserted where there is an error reading and error in
>>>>>>>> opening the zip file).
>>>>>>>>
>>>>>>>>
>>>>>>>> This results in some strange entries in my local repo for
>>>>>>>> the openejb
>>>>>>>>
>>>>>>>> container:
>>>>>>>>
>>>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>>> |
>>>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>>>
>>>>>>>>
>>>>>>>> Deleting these time-stamp entries and running again doesn't
>>>>>>>> seem to avoid the problem. This is building with a
>>>>>>>> completely empty repo
>>>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>>>> different machines. I think something is screwed up with
>>>>>>>> the pom or maven-metadata but I'm not up on maven enough to
>>>>>>>> know what it is.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------
>>>>>>> ------------
>>>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------
>>>>>>> ------------
>>>>>>>> [INFO] [clean:clean]
>>>>>>>> [INFO] Deleting directory C:\geronimo2.0-M2\modules\geronimo-
>>>>>>>> openejb-builder\target
>>>>>>>> [INFO] Deleting directory C:\geronimo2.0-M2\modules\geronimo-
>>>>>>>> openejb-builder\target\classes
>>>>>>>> [INFO] Deleting directory
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>>>> \test-classes
>>>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>>>> validate-java-version}]
>>>>>>>> Downloading:
>>>>>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/
>>>>>>> geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-
>>>>>>> ejb_3.0_spec-1.0-M1.jar
>>>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-
>>>>>>>> repo (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>>>> Downloading:
>>>>>>> http://people.apache.org/repo/m2-incubating-repository//org/
>>>>>>> apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-
>>>>>>> ejb_3.0_spec-1.0-M1.jar
>>>>>>>> [WARNING] Unable to get resource from repository apache-
>>>>>>>> incubator (http://people.apache.org/repo/m2-incubating-
>>>>>>>> repository/)
>>>>>>>> Downloading:
>>>>>>> http://repository.codehaus.org/org/apache/geronimo/specs/
>>>>>>> geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>>>> (http://repository.codehaus.org)
>>>>>>>> Downloading:
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/
>>>>>>> apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-
>>>>>>> ejb_3.0_spec-1.0-M1.jar
>>>>>>>> [WARNING] Unable to get resource from repository apache-
>>>>>>>> incubating-repository (http://people.apache.org/repo/m2-
>>>>>>>> incubating-repository)
>>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/
>>>>>>> geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>> 31K downloaded
>>>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>>>> Time to build schema type system: 0.156 seconds
>>>>>>>> Time to generate code: 0.125 seconds
>>>>>>>>
>>>>>>>> *******
>>>>>>>>
>>>>>>>> error: error reading
>>>>>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT
>>>>>>> \container-3.0-incubating-SNAPSHOT.pom;
>>>>>>>> error in opening zip file
>>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>>> 1 error
>>>>>>>>
>>>>>>>> *******
>>>>>>>>
>>>>>>>>
>>>>>>>> BUILD FAILED
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------
>>>>>>> --------
>>>>>>>> [ERROR] BUILD ERROR
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------
>>>>>>> --------
>>>>>>>> [INFO] XmlBeans compile failed:
>>>>>>>> xml ErrorLoading schema file
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main
>>>>>>> \schema\geronimo-openejb-2.0.xsd
>>>>>>>> xml ErrorLoading config file
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main
>>>>>>> \schema\xmlconfig.xml
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------
>>>>>>> --------
>>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------
>>>>>>> --------
>>>>>>>> [INFO] Total time: 12 minutes 20 seconds
>>>>>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>>>>>> [INFO] Final Memory: 62M/116M
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------
>>>>>>> --------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ________________________________________________________________
>>>>>>> ____________________
>>>>>>> Don't get soaked. Take a quick peak at the forecast
>>>>>>> with the Yahoo! Search weather shortcut.
>>>>>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>>>>>
>>>>>>
>>>>>>
>>>>
Re: windows build failure
Posted by Rakesh Midha <mi...@gmail.com>.
I did, I also tried with C:\geronimo\build0215, which gave me same error.
Removing
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>container</artifactId>
<version>${version}</version>
<type>pom</type>
<scope>compile</scope>
</dependency>
from server-3.0-incubation-SNAPSHOT .pom solves the problem.
Thanks
Rakesh
On 2/22/07, Tim McConnell <ti...@gmail.com> wrote:
>
> Hi Rakesh, could this be the infamous windows path length problem ?? Have
> you
> tried changing your root directory to something like C:\g instead of what
> you're
> using now (C:\geronimo\Copy of build0215) ??
>
> Thanks,
> Tim McConnell
>
>
> Rakesh Midha wrote:
> > Hello
> >
> > At last I am able to reproduce it, I am hitting this error at at corba
> > builder (geronimo-corba-builder)
> >
> > Here is the relevant log
> >
> ------------------------------------------------------------------------------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------------------------------------------------------------------------
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > [INFO] Building Geronimo :: CORBA :: Builder
> > [INFO] task-segment: [install]
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > [INFO] [tools:require-java-version {execution: validate-java-version}]
> > [WARNING] POM for
> > 'org.apache.geronimo.specs:geronimo-jms_1.1_spec:pom:1.0.1:com
> > pile' is invalid. It will be ignored for artifact resolution. Reason:
> > Failed to
> > validate POM
> > [WARNING] POM for
> > 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:po
> > m:1.0.1:compile' is invalid. It will be ignored for artifact resolution.
> > Reason:
> > Failed to validate POM
> > [WARNING] POM for
> > 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:com
> > pile' is invalid. It will be ignored for artifact resolution. Reason:
> > Failed to
> > validate POM
> > [INFO] [xmlbeans:xmlbeans {execution: default}]
> > Time to build schema type system: 0.2 seconds
> > Time to generate code: 0.952 seconds
> > error: error reading C:\Documents and
> > Settings\libadmin\.m2\repository\org\apach
> > e\openejb\container\3.0-incubating-SNAPSHOT\container-
> 3.0-incubating-SNAPSHOT.po
> > m; java.util.zip.ZipException: error in opening zip file
> > Note: * uses or overrides a deprecated API.
> > Note: Recompile with -Xlint:deprecation for details.
> > 1 error
> >
> > BUILD FAILED
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] XmlBeans compile failed:
> > xml ErrorLoading schema file C:\geronimo\Copy of
> > build0215\modules\geronimo-cor
> > ba-builder\src\main\schema\corba-css-config-2.1.xsd
> > xml ErrorLoading schema file C:\geronimo\Copy of
> > build0215\modules\geronimo-corb
> > a-builder\src\main\schema\corba-tss-config-2.1.xsd
> > xml ErrorLoading config file C:\geronimo\Copy of
> > build0215\modules\geronimo-corb
> > a-builder\src\main\schema\xmlconfig.xml
> >
> ------------------------------------------------------------------------------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > BTW I am using Win-XP and Maven 2.0.5
> >
> > Thanks
> > Rakesh
> >
> > On 2/16/07, *Kevan Miller* <kevan.miller@gmail.com
> > <ma...@gmail.com>> wrote:
> >
> >
> > On Feb 16, 2007, at 4:44 AM, Rakesh Midha wrote:
> >
> > > Hello Kevan
> > >
> > > I think you said that this error is fixed after you committed the
> > > changes in trunk. I am working on trunk I checkout yesterday (rev
> > > 507910). and with my bad luck I am facing the same exception even
> > now.
> > >
> > > Removing
> > > <dependency>
> > > <groupId>org.apache.openejb</groupId>
> > > <artifactId>container</artifactId>
> > > <version>${version}</version>
> > > <type>pom</type>
> > > <scope>compile</scope>
> > > </dependency>
> > > from server-3.0-incubation-SNAPSHOT.pom solves the problem.
> > >
> > > Am I missing something here.
> >
> > Strange. I don't see anything that would have unfixed my hack...
> >
> > Hmm. Maybe it needs to be excluded in a different module/config.
> > Where are you hitting this error? Maybe corba enablement (or another
> > change is hitting the same basic issue...).
> >
> > Anybody else seeing this?
> >
> > --kevan
> >
> >
> >
> >
>
Re: windows build failure
Posted by Tim McConnell <ti...@gmail.com>.
Hi Rakesh, could this be the infamous windows path length problem ?? Have you
tried changing your root directory to something like C:\g instead of what you're
using now (C:\geronimo\Copy of build0215) ??
Thanks,
Tim McConnell
Rakesh Midha wrote:
> Hello
>
> At last I am able to reproduce it, I am hitting this error at at corba
> builder (geronimo-corba-builder)
>
> Here is the relevant log
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Geronimo :: CORBA :: Builder
> [INFO] task-segment: [install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [tools:require-java-version {execution: validate-java-version}]
> [WARNING] POM for
> 'org.apache.geronimo.specs:geronimo-jms_1.1_spec:pom:1.0.1:com
> pile' is invalid. It will be ignored for artifact resolution. Reason:
> Failed to
> validate POM
> [WARNING] POM for
> 'org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:po
> m:1.0.1:compile' is invalid. It will be ignored for artifact resolution.
> Reason:
> Failed to validate POM
> [WARNING] POM for
> 'org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:com
> pile' is invalid. It will be ignored for artifact resolution. Reason:
> Failed to
> validate POM
> [INFO] [xmlbeans:xmlbeans {execution: default}]
> Time to build schema type system: 0.2 seconds
> Time to generate code: 0.952 seconds
> error: error reading C:\Documents and
> Settings\libadmin\.m2\repository\org\apach
> e\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.po
> m; java.util.zip.ZipException: error in opening zip file
> Note: * uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 error
>
> BUILD FAILED
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] XmlBeans compile failed:
> xml ErrorLoading schema file C:\geronimo\Copy of
> build0215\modules\geronimo-cor
> ba-builder\src\main\schema\corba-css-config-2.1.xsd
> xml ErrorLoading schema file C:\geronimo\Copy of
> build0215\modules\geronimo-corb
> a-builder\src\main\schema\corba-tss-config-2.1.xsd
> xml ErrorLoading config file C:\geronimo\Copy of
> build0215\modules\geronimo-corb
> a-builder\src\main\schema\xmlconfig.xml
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> BTW I am using Win-XP and Maven 2.0.5
>
> Thanks
> Rakesh
>
> On 2/16/07, *Kevan Miller* <kevan.miller@gmail.com
> <ma...@gmail.com>> wrote:
>
>
> On Feb 16, 2007, at 4:44 AM, Rakesh Midha wrote:
>
> > Hello Kevan
> >
> > I think you said that this error is fixed after you committed the
> > changes in trunk. I am working on trunk I checkout yesterday (rev
> > 507910). and with my bad luck I am facing the same exception even
> now.
> >
> > Removing
> > <dependency>
> > <groupId>org.apache.openejb</groupId>
> > <artifactId>container</artifactId>
> > <version>${version}</version>
> > <type>pom</type>
> > <scope>compile</scope>
> > </dependency>
> > from server-3.0-incubation-SNAPSHOT.pom solves the problem.
> >
> > Am I missing something here.
>
> Strange. I don't see anything that would have unfixed my hack...
>
> Hmm. Maybe it needs to be excluded in a different module/config.
> Where are you hitting this error? Maybe corba enablement (or another
> change is hitting the same basic issue...).
>
> Anybody else seeing this?
>
> --kevan
>
>
>
>
Re: windows build failure
Posted by Rakesh Midha <mi...@gmail.com>.
Hello
At last I am able to reproduce it, I am hitting this error at at corba
builder (geronimo-corba-builder)
Here is the relevant log
------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Geronimo :: CORBA :: Builder
[INFO] task-segment: [install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [tools:require-java-version {execution: validate-java-version}]
[WARNING] POM for '
org.apache.geronimo.specs:geronimo-jms_1.1_spec:pom:1.0.1:com
pile' is invalid. It will be ignored for artifact resolution. Reason: Failed
to
validate POM
[WARNING] POM for '
org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:po
m:1.0.1:compile' is invalid. It will be ignored for artifact resolution.
Reason:
Failed to validate POM
[WARNING] POM for '
org.apache.geronimo.specs:geronimo-ejb_2.1_spec:pom:1.0.1:com
pile' is invalid. It will be ignored for artifact resolution. Reason: Failed
to
validate POM
[INFO] [xmlbeans:xmlbeans {execution: default}]
Time to build schema type system: 0.2 seconds
Time to generate code: 0.952 seconds
error: error reading C:\Documents and
Settings\libadmin\.m2\repository\org\apach
e\openejb\container\3.0-incubating-SNAPSHOT\container-
3.0-incubating-SNAPSHOT.po
m; java.util.zip.ZipException: error in opening zip file
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
BUILD FAILED
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] XmlBeans compile failed:
xml ErrorLoading schema file C:\geronimo\Copy of
build0215\modules\geronimo-cor
ba-builder\src\main\schema\corba-css-config-2.1.xsd
xml ErrorLoading schema file C:\geronimo\Copy of
build0215\modules\geronimo-corb
a-builder\src\main\schema\corba-tss-config-2.1.xsd
xml ErrorLoading config file C:\geronimo\Copy of
build0215\modules\geronimo-corb
a-builder\src\main\schema\xmlconfig.xml
------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------
BTW I am using Win-XP and Maven 2.0.5
Thanks
Rakesh
On 2/16/07, Kevan Miller <ke...@gmail.com> wrote:
>
>
> On Feb 16, 2007, at 4:44 AM, Rakesh Midha wrote:
>
> > Hello Kevan
> >
> > I think you said that this error is fixed after you committed the
> > changes in trunk. I am working on trunk I checkout yesterday (rev
> > 507910). and with my bad luck I am facing the same exception even now.
> >
> > Removing
> > <dependency>
> > <groupId>org.apache.openejb</groupId>
> > <artifactId>container</artifactId>
> > <version>${version}</version>
> > <type>pom</type>
> > <scope>compile</scope>
> > </dependency>
> > from server-3.0-incubation-SNAPSHOT.pom solves the problem.
> >
> > Am I missing something here.
>
> Strange. I don't see anything that would have unfixed my hack...
>
> Hmm. Maybe it needs to be excluded in a different module/config.
> Where are you hitting this error? Maybe corba enablement (or another
> change is hitting the same basic issue...).
>
> Anybody else seeing this?
>
> --kevan
>
>
>
>
Re: windows build failure
Posted by Kevan Miller <ke...@gmail.com>.
On Feb 16, 2007, at 4:44 AM, Rakesh Midha wrote:
> Hello Kevan
>
> I think you said that this error is fixed after you committed the
> changes in trunk. I am working on trunk I checkout yesterday (rev
> 507910). and with my bad luck I am facing the same exception even now.
>
> Removing
> <dependency>
> <groupId>org.apache.openejb</groupId>
> <artifactId>container</artifactId>
> <version>${version}</version>
> <type>pom</type>
> <scope>compile</scope>
> </dependency>
> from server-3.0-incubation-SNAPSHOT.pom solves the problem.
>
> Am I missing something here.
Strange. I don't see anything that would have unfixed my hack...
Hmm. Maybe it needs to be excluded in a different module/config.
Where are you hitting this error? Maybe corba enablement (or another
change is hitting the same basic issue...).
Anybody else seeing this?
--kevan
Re: windows build failure
Posted by Rakesh Midha <mi...@gmail.com>.
Hello Kevan
I think you said that this error is fixed after you committed the changes in
trunk. I am working on trunk I checkout yesterday (rev 507910). and with my
bad luck I am facing the same exception even now.
Removing
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>container</artifactId>
<version>${version}</version>
<type>pom</type>
<scope>compile</scope>
</dependency>
from server-3.0-incubation-SNAPSHOT.pom solves the problem.
Am I missing something here.
Thanks
Rakesh
On 2/5/07, Hernan Cunico <hc...@gmail.com> wrote:
>
> Thanks a bunch Kevan for this workaround, I finally get to build now !
>
> Cheers!
> Hernan
>
> Kevan Miller wrote:
> > I've committed a change to trunk which should avoid this build failure.
> >
> > The change is really a work-around. The problem seems to be an xmlbeans
> > bug. The work-around is to exclude the OpenEJB container. This avoids
> > the container pom error and compilation failures.
> >
> > Hernan reported that he was now able to build without hacking the pom in
> > his repo.
> >
> > --kevan
> >
>
Re: [talking]Is those code have quality?
Posted by Dain Sundstrom <da...@iq80.com>.
The OpenEJB BrokerServer class is a hack we put in place to test the
OpenEJB MDB container. This class (hack) will be replaced with a
complete implementation, when we finish the OpenEJB/ActiveMQ
integration. If you are interested in working on this, please send
an email to the openejb-dev mailing list.
-dain
On Feb 5, 2007, at 9:34 AM, Fei Fei wrote:
>
> Firstly,I am sorry,This is talking about project openejb.but
> this mail list is used to project geronimo.But,I really hope
> everyone can give me some advice.Thanks.
>
> I review code at
> org.apache.openejb.server.activemq.BrokerServer,I don't know this
> class want to do anything,but I think some code is no auality,like
> this:
>
> public void init(Properties properties) throws Exception {
> String port = properties.getProperty("port", "1527");
> String bind = properties.getProperty("bind");
> String disabled = properties.getProperty("disabled");
> this.port = Integer.parseInt(port);
> this.disabled = Boolean.parseBoolean(disabled);
> @0
> host = InetAddress.getByName(bind);
>
> @1
> if (this.disabled) {
> return;
> }
> URI uri = new URI("tcp", null, bind, this.port, null, null,
> null);
>
> broker = new BrokerService();
> broker.setPersistent(false);
> broker.addConnector(uri);
> }
>
> public void start() throws ServiceException {
> @2
> if (disabled) return;
> try {
> broker.start();
> } catch (Exception e) {
> throw new ServiceException(e);
> }
> }
>
> due to @1 and @2,I think if the field of disabled is false,this
> class(or call service,it implements ServerService) will not
> working,so ,the prob is,you specify the field type is boolean(then
> sometimes it will value of false),but the @0 is working every
> time,this invocation(InetAddress.getByName(..)) will use a great
> many system resources,following invocation code(the char 'l:' means
> 'line:'):
>
> l:956 public static InetAddress getByName(String host)
> throws UnknownHostException {
> return InetAddress.getAllByName(host)[0];
> l:959 }
>
> l:1000 public static InetAddress[] getAllByName(String host)
> throws UnknownHostException {
>
> ......
>
> return getAllByName0(host);
> l:1061 }
>
> l:1095 private static InetAddress[] getAllByName0 (String host)
> throws UnknownHostException
> {
> return getAllByName0(host, true);
> l:1099 }
>
> l:1104 static InetAddress[] getAllByName0 (String host, boolean
> check)
> throws UnknownHostException {
> .....
> /* Make a copy of the InetAddress array */
> objcopy = ((InetAddress [])obj).clone();
> return (InetAddress [])objcopy;
> l:1139 }
>
> so,you see,I deem you review code to here,to a certainty found
> some prob.yes ,it will work fine,but this project is from
> Apache,isn't all best developer working with apache project?(I nill
> write more.very tired now.I am going to bed..)
>
> I think just change to:
> public void init(Properties properties) throws Exception {
> String disabled = properties.getProperty("disabled");
> this.disabled = Boolean.parseBoolean(disabled);
> @1
> if (this.disabled) {
> return;
> }
>
> String port = properties.getProperty("port", "1527");
> this.port = Integer.parseInt(port);
> String bind = properties.getProperty("bind");
> @0
> host = InetAddress.getByName(bind);
> URI uri = new URI("tcp", null, bind, this.port, null, null,
> null);
>
> broker = new BrokerService();
> broker.setPersistent(false);
> broker.addConnector(uri);
> }
>
> if you see this message,give me some idea please,thanks.
>
> - A Fei -
>
> _________________________________________________________________
> From predictions to trailers, check out the MSN Entertainment Guide
> to the Academy Awards® http://movies.msn.com/movies/oscars2007/?
> icid=ncoscartagline1
>
[talking]Is those code have quality?
Posted by Fei Fei <mi...@hotmail.com>.
Firstly,I am sorry,This is talking about project openejb.but this mail
list is used to project geronimo.But,I really hope everyone can give me some
advice.Thanks.
I review code at org.apache.openejb.server.activemq.BrokerServer,I
don't know this class want to do anything,but I think some code is no
auality,like this:
public void init(Properties properties) throws Exception {
String port = properties.getProperty("port", "1527");
String bind = properties.getProperty("bind");
String disabled = properties.getProperty("disabled");
this.port = Integer.parseInt(port);
this.disabled = Boolean.parseBoolean(disabled);
@0
host = InetAddress.getByName(bind);
@1
if (this.disabled) {
return;
}
URI uri = new URI("tcp", null, bind, this.port, null, null, null);
broker = new BrokerService();
broker.setPersistent(false);
broker.addConnector(uri);
}
public void start() throws ServiceException {
@2
if (disabled) return;
try {
broker.start();
} catch (Exception e) {
throw new ServiceException(e);
}
}
due to @1 and @2,I think if the field of disabled is false,this class(or
call service,it implements ServerService) will not working,so ,the prob
is,you specify the field type is boolean(then sometimes it will value of
false),but the @0 is working every time,this
invocation(InetAddress.getByName(..)) will use a great many system
resources,following invocation code(the char 'l:' means 'line:'):
l:956 public static InetAddress getByName(String host)
throws UnknownHostException {
return InetAddress.getAllByName(host)[0];
l:959 }
l:1000 public static InetAddress[] getAllByName(String host)
throws UnknownHostException {
......
return getAllByName0(host);
l:1061 }
l:1095 private static InetAddress[] getAllByName0 (String host)
throws UnknownHostException
{
return getAllByName0(host, true);
l:1099 }
l:1104 static InetAddress[] getAllByName0 (String host, boolean check)
throws UnknownHostException {
.....
/* Make a copy of the InetAddress array */
objcopy = ((InetAddress [])obj).clone();
return (InetAddress [])objcopy;
l:1139 }
so,you see,I deem you review code to here,to a certainty found some
prob.yes ,it will work fine,but this project is from Apache,isn't all best
developer working with apache project?(I nill write more.very tired now.I am
going to bed..)
I think just change to:
public void init(Properties properties) throws Exception {
String disabled = properties.getProperty("disabled");
this.disabled = Boolean.parseBoolean(disabled);
@1
if (this.disabled) {
return;
}
String port = properties.getProperty("port", "1527");
this.port = Integer.parseInt(port);
String bind = properties.getProperty("bind");
@0
host = InetAddress.getByName(bind);
URI uri = new URI("tcp", null, bind, this.port, null, null, null);
broker = new BrokerService();
broker.setPersistent(false);
broker.addConnector(uri);
}
if you see this message,give me some idea please,thanks.
- A Fei -
_________________________________________________________________
>From predictions to trailers, check out the MSN Entertainment Guide to the
Academy AwardsŽ
http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline1
Re: windows build failure
Posted by Hernan Cunico <hc...@gmail.com>.
Thanks a bunch Kevan for this workaround, I finally get to build now !
Cheers!
Hernan
Kevan Miller wrote:
> I've committed a change to trunk which should avoid this build failure.
>
> The change is really a work-around. The problem seems to be an xmlbeans
> bug. The work-around is to exclude the OpenEJB container. This avoids
> the container pom error and compilation failures.
>
> Hernan reported that he was now able to build without hacking the pom in
> his repo.
>
> --kevan
>
Re: windows build failure
Posted by Kevan Miller <ke...@gmail.com>.
I've committed a change to trunk which should avoid this build failure.
The change is really a work-around. The problem seems to be an
xmlbeans bug. The work-around is to exclude the OpenEJB container.
This avoids the container pom error and compilation failures.
Hernan reported that he was now able to build without hacking the pom
in his repo.
--kevan
Re: windows build failure
Posted by Hernan Cunico <hc...@gmail.com>.
nope, I actually rolled back the changes and added the dependencies back on the container.
then I tried Kevan's suggestion about not specifying any version in the root pom and that's error I got.
Cheers!
Hernan
Joe Bohn wrote:
> Hernan,
>
> I didn't save the results of this when I tried it earlier today ... but
> I think I received the original error with Kevan's suggestion to remove
> the specific version. BTW, I also added the dependency on the container
> back into the server when I tried this. Perhaps you didn't add that
> dependency back in and hence the different results?
>
> Joe
>
> Hernan Cunico wrote:
>> Hi Tim,
>> I tried with jdk1.5.0_06 through jdk1.5.0_10, no difference.
>> I also tried moving the M2 repo all around but had the same results.
>>
>> I am not specifying any heap sz in JAVA_OPTS, instead I use this
>> specific for maven "MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m
>> -Dmaven.test.skip=true". I don't think this diff could cause such a
>> consistent build failure. Either way I just tried that (switching MVN
>> and JAVA opts) and did not work.
>>
>> I also tried Kevan's suggestion of removing the specific version in
>> the root pom but with that I got a different build error. Actually did
>> not got that far in the build.
>>
>> Joe, is this the same error you saw on your machine?
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=xmlbeans
>> -DartifactId=xmlbeans-jsr173-api \
>> -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file
>>
>> Path to dependency:
>> 1)
>> org.apache.geronimo.modules:geronimo-service-builder:jar:2.0-SNAPSHOT
>> 2) stax:stax:jar:1.1.1-dev
>> 3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>> org.apache.geronimo.modules:geronimo-service-builder:jar:2.0-SNAPSHOT
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>> codehaus (http://repository.codehaus.org),
>> apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>> codehaus-snapshots (http://snapshots.repository.codehaus.org),
>> apache-incubator
>> (http://people.apache.org/repo/m2-incubating-repository/),
>> tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository/)
>>
>> Cheers!
>> Hernan
>>
>>
>> Tim McConnell wrote:
>>> Hi Hernan, I just compared your output with mine (which is working
>>> for me on Windows) and only see a few subtle environment differences.
>>> Here are mine, but I doubt they'd change your results though:
>>>
>>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
>>> JAVA_OPTS=-Xms512m -Xmx512m
>>> M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.4
>>> Hernan Cunico wrote:
>>>> Just in case somebody is having the same prob I'm attaching "mvn
>>>> install -e -X >> output.txt 2>>&1"
>>>>
>>>> Cheers!
>>>> Hernan
>>>>
>>>> Hernan Cunico wrote:
>>>>> Enabling extensions did not work for me.
>>>>>
>>>>> Cheers!
>>>>> Hernan
>>>>>
>>>>> Donald Woods wrote:
>>>>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>>>>> changes, try changing the following line in your
>>>>>> <M2_HOME>\bin\mvn.bat -
>>>>>> if "%OS%"=="Windows_NT" @setlocal
>>>>>> to:
>>>>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>>>>
>>>>>>
>>>>>> -Donald
>>>>>>
>>>>>> Joe Bohn wrote:
>>>>>>> No, I haven't attempted that yet. I'll give that a try a little
>>>>>>> later. Right now I'm trying to see if building OpenEJB3 locally
>>>>>>> makes any difference since I know of at least one person that
>>>>>>> isn't hitting this problem but has built openejb3.
>>>>>>>
>>>>>>> Thanks for the responses and ideas.
>>>>>>>
>>>>>>> Joe
>>>>>>>
>>>>>>>
>>>>>>> anita kulshreshtha wrote:
>>>>>>>> Have you tried moving these 2 files to their rightful place,
>>>>>>>> i.e. in
>>>>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>>>>
>>>>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Anita
>>>>>>>>
>>>>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>>>>
>>>>>>>>> I think the problem that Hernan reported last week building on
>>>>>>>>> Windows is still alive and well. It doesn't seem to cause any
>>>>>>>>> problems on
>>>>>>>>> OSX.
>>>>>>>>>
>>>>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> It seems to me that there is something fishy with the
>>>>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause
>>>>>>>>> grief
>>>>>>>>> on windows (see the messages below between the "*******" lines I
>>>>>>>>> inserted where there is an error reading and error in opening
>>>>>>>>> the zip file).
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> This results in some strange entries in my local repo for the
>>>>>>>>> openejb
>>>>>>>>>
>>>>>>>>> container:
>>>>>>>>>
>>>>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>>>> |
>>>>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Deleting these time-stamp entries and running again doesn't
>>>>>>>>> seem to avoid the problem. This is building with a completely
>>>>>>>>> empty repo
>>>>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>>>>> different machines. I think something is screwed up with the
>>>>>>>>> pom or maven-metadata but I'm not up on maven enough to know
>>>>>>>>> what it is.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [INFO]
>>>>>>>> ----------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>>>> [INFO]
>>>>>>>> ----------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>> [INFO] [clean:clean]
>>>>>>>>> [INFO] Deleting directory
>>>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>>>>>> [INFO] Deleting directory
>>>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>>>>>>> [INFO] Deleting directory
>>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>>>>>>
>>>>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>>>>> validate-java-version}]
>>>>>>>>> Downloading:
>>>>>>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>>
>>>>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>>>>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>>>>> Downloading:
>>>>>>>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>>
>>>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>>>> apache-incubator
>>>>>>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>>>>>> Downloading:
>>>>>>>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>>
>>>>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>>>>> (http://repository.codehaus.org)
>>>>>>>>> Downloading:
>>>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>>
>>>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>>>> apache-incubating-repository
>>>>>>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>>>>>>> Downloading:
>>>>>>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>>
>>>>>>>>> 31K downloaded
>>>>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>>>>> Time to build schema type system: 0.156 seconds
>>>>>>>>> Time to generate code: 0.125 seconds
>>>>>>>>>
>>>>>>>>> *******
>>>>>>>>>
>>>>>>>>> error: error reading
>>>>>>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>>>>>>
>>>>>>>>> error in opening zip file
>>>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>>>> 1 error
>>>>>>>>>
>>>>>>>>> *******
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> BUILD FAILED
>>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>> [ERROR] BUILD ERROR
>>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>> [INFO] XmlBeans compile failed:
>>>>>>>>> xml ErrorLoading schema file
>>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>>>>>>
>>>>>>>>> xml ErrorLoading config file
>>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>>>>>>
>>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>> [INFO] Total time: 12 minutes 20 seconds
>>>>>>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>>>>>>> [INFO] Final Memory: 62M/116M
>>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ____________________________________________________________________________________
>>>>>>>>
>>>>>>>> Don't get soaked. Take a quick peak at the forecast
>>>>>>>> with the Yahoo! Search weather shortcut.
>>>>>>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>
>>
>
Re: windows build failure
Posted by Joe Bohn <jo...@earthlink.net>.
Hernan,
I didn't save the results of this when I tried it earlier today ... but
I think I received the original error with Kevan's suggestion to remove
the specific version. BTW, I also added the dependency on the container
back into the server when I tried this. Perhaps you didn't add that
dependency back in and hence the different results?
Joe
Hernan Cunico wrote:
> Hi Tim,
> I tried with jdk1.5.0_06 through jdk1.5.0_10, no difference.
> I also tried moving the M2 repo all around but had the same results.
>
> I am not specifying any heap sz in JAVA_OPTS, instead I use this
> specific for maven "MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m
> -Dmaven.test.skip=true". I don't think this diff could cause such a
> consistent build failure. Either way I just tried that (switching MVN
> and JAVA opts) and did not work.
>
> I also tried Kevan's suggestion of removing the specific version in the
> root pom but with that I got a different build error. Actually did not
> got that far in the build.
>
> Joe, is this the same error you saw on your machine?
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=xmlbeans
> -DartifactId=xmlbeans-jsr173-api \
> -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file
>
> Path to dependency:
> 1)
> org.apache.geronimo.modules:geronimo-service-builder:jar:2.0-SNAPSHOT
> 2) stax:stax:jar:1.1.1-dev
> 3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.apache.geronimo.modules:geronimo-service-builder:jar:2.0-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
> codehaus (http://repository.codehaus.org),
> apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
> codehaus-snapshots (http://snapshots.repository.codehaus.org),
> apache-incubator
> (http://people.apache.org/repo/m2-incubating-repository/),
> tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository/)
>
> Cheers!
> Hernan
>
>
> Tim McConnell wrote:
>> Hi Hernan, I just compared your output with mine (which is working for
>> me on Windows) and only see a few subtle environment differences. Here
>> are mine, but I doubt they'd change your results though:
>>
>> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
>> JAVA_OPTS=-Xms512m -Xmx512m
>> M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.4
>>
>> Hernan Cunico wrote:
>>> Just in case somebody is having the same prob I'm attaching "mvn
>>> install -e -X >> output.txt 2>>&1"
>>>
>>> Cheers!
>>> Hernan
>>>
>>> Hernan Cunico wrote:
>>>> Enabling extensions did not work for me.
>>>>
>>>> Cheers!
>>>> Hernan
>>>>
>>>> Donald Woods wrote:
>>>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>>>> changes, try changing the following line in your
>>>>> <M2_HOME>\bin\mvn.bat -
>>>>> if "%OS%"=="Windows_NT" @setlocal
>>>>> to:
>>>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>>>
>>>>>
>>>>> -Donald
>>>>>
>>>>> Joe Bohn wrote:
>>>>>> No, I haven't attempted that yet. I'll give that a try a little
>>>>>> later. Right now I'm trying to see if building OpenEJB3 locally
>>>>>> makes any difference since I know of at least one person that
>>>>>> isn't hitting this problem but has built openejb3.
>>>>>>
>>>>>> Thanks for the responses and ideas.
>>>>>>
>>>>>> Joe
>>>>>>
>>>>>>
>>>>>> anita kulshreshtha wrote:
>>>>>>> Have you tried moving these 2 files to their rightful place,
>>>>>>> i.e. in
>>>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>>>
>>>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>>
>>>>>>> Thanks
>>>>>>> Anita
>>>>>>>
>>>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>>>
>>>>>>>> I think the problem that Hernan reported last week building on
>>>>>>>> Windows is still alive and well. It doesn't seem to cause any
>>>>>>>> problems on
>>>>>>>> OSX.
>>>>>>>>
>>>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>>>
>>>>>>>>
>>>>>>>> It seems to me that there is something fishy with the
>>>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause
>>>>>>>> grief
>>>>>>>> on windows (see the messages below between the "*******" lines I
>>>>>>>> inserted where there is an error reading and error in opening
>>>>>>>> the zip file).
>>>>>>>>
>>>>>>>>
>>>>>>>> This results in some strange entries in my local repo for the
>>>>>>>> openejb
>>>>>>>>
>>>>>>>> container:
>>>>>>>>
>>>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>>> |
>>>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>>>
>>>>>>>>
>>>>>>>> Deleting these time-stamp entries and running again doesn't seem
>>>>>>>> to avoid the problem. This is building with a completely empty
>>>>>>>> repo
>>>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>>>> different machines. I think something is screwed up with the
>>>>>>>> pom or maven-metadata but I'm not up on maven enough to know
>>>>>>>> what it is.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>>> [INFO]
>>>>>>> ----------------------------------------------------------------------------
>>>>>>>
>>>>>>>> [INFO] [clean:clean]
>>>>>>>> [INFO] Deleting directory
>>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>>>>> [INFO] Deleting directory
>>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>>>>>> [INFO] Deleting directory
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>>>>>
>>>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>>>> validate-java-version}]
>>>>>>>> Downloading:
>>>>>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>
>>>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>>>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>>>> Downloading:
>>>>>>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>
>>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>>> apache-incubator
>>>>>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>>>>> Downloading:
>>>>>>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>
>>>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>>>> (http://repository.codehaus.org)
>>>>>>>> Downloading:
>>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>
>>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>>> apache-incubating-repository
>>>>>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>>>>>> Downloading:
>>>>>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>>
>>>>>>>> 31K downloaded
>>>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>>>> Time to build schema type system: 0.156 seconds
>>>>>>>> Time to generate code: 0.125 seconds
>>>>>>>>
>>>>>>>> *******
>>>>>>>>
>>>>>>>> error: error reading
>>>>>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>>>>>
>>>>>>>> error in opening zip file
>>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>>> 1 error
>>>>>>>>
>>>>>>>> *******
>>>>>>>>
>>>>>>>>
>>>>>>>> BUILD FAILED
>>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>> [ERROR] BUILD ERROR
>>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>> [INFO] XmlBeans compile failed:
>>>>>>>> xml ErrorLoading schema file
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>>>>>
>>>>>>>> xml ErrorLoading config file
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>>>>>
>>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>> [INFO] Total time: 12 minutes 20 seconds
>>>>>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>>>>>> [INFO] Final Memory: 62M/116M
>>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ____________________________________________________________________________________
>>>>>>>
>>>>>>> Don't get soaked. Take a quick peak at the forecast
>>>>>>> with the Yahoo! Search weather shortcut.
>>>>>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>>>>>
>>>>>>
>>>>>>
>>>>
>>
>
Re: windows build failure
Posted by Hernan Cunico <hc...@gmail.com>.
Hi Tim,
I tried with jdk1.5.0_06 through jdk1.5.0_10, no difference.
I also tried moving the M2 repo all around but had the same results.
I am not specifying any heap sz in JAVA_OPTS, instead I use this specific for maven "MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m -Dmaven.test.skip=true". I don't think this diff could cause such a consistent build failure. Either way I just tried that (switching MVN and JAVA opts) and did not work.
I also tried Kevan's suggestion of removing the specific version in the root pom but with that I got a different build error. Actually did not got that far in the build.
Joe, is this the same error you saw on your machine?
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=xmlbeans -DartifactId=xmlbeans-jsr173-api \
-Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) org.apache.geronimo.modules:geronimo-service-builder:jar:2.0-SNAPSHOT
2) stax:stax:jar:1.1.1-dev
3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev
----------
1 required artifact is missing.
for artifact:
org.apache.geronimo.modules:geronimo-service-builder:jar:2.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus (http://repository.codehaus.org),
apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshots (http://snapshots.repository.codehaus.org),
apache-incubator (http://people.apache.org/repo/m2-incubating-repository/),
tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository/)
Cheers!
Hernan
Tim McConnell wrote:
> Hi Hernan, I just compared your output with mine (which is working for
> me on Windows) and only see a few subtle environment differences. Here
> are mine, but I doubt they'd change your results though:
>
> JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
> JAVA_OPTS=-Xms512m -Xmx512m
> M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.4
>
>
> Hernan Cunico wrote:
>> Just in case somebody is having the same prob I'm attaching "mvn
>> install -e -X >> output.txt 2>>&1"
>>
>> Cheers!
>> Hernan
>>
>> Hernan Cunico wrote:
>>> Enabling extensions did not work for me.
>>>
>>> Cheers!
>>> Hernan
>>>
>>> Donald Woods wrote:
>>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>>> changes, try changing the following line in your
>>>> <M2_HOME>\bin\mvn.bat -
>>>> if "%OS%"=="Windows_NT" @setlocal
>>>> to:
>>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>>
>>>>
>>>> -Donald
>>>>
>>>> Joe Bohn wrote:
>>>>> No, I haven't attempted that yet. I'll give that a try a little
>>>>> later. Right now I'm trying to see if building OpenEJB3 locally
>>>>> makes any difference since I know of at least one person that isn't
>>>>> hitting this problem but has built openejb3.
>>>>>
>>>>> Thanks for the responses and ideas.
>>>>>
>>>>> Joe
>>>>>
>>>>>
>>>>> anita kulshreshtha wrote:
>>>>>> Have you tried moving these 2 files to their rightful place,
>>>>>> i.e. in
>>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>>
>>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>
>>>>>> Thanks
>>>>>> Anita
>>>>>>
>>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>>
>>>>>>> I think the problem that Hernan reported last week building on
>>>>>>> Windows is still alive and well. It doesn't seem to cause any
>>>>>>> problems on
>>>>>>> OSX.
>>>>>>>
>>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>>
>>>>>>>
>>>>>>> It seems to me that there is something fishy with the
>>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
>>>>>>> on windows (see the messages below between the "*******" lines I
>>>>>>> inserted where there is an error reading and error in opening the
>>>>>>> zip file).
>>>>>>>
>>>>>>>
>>>>>>> This results in some strange entries in my local repo for the
>>>>>>> openejb
>>>>>>>
>>>>>>> container:
>>>>>>>
>>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>>> |
>>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>>
>>>>>>>
>>>>>>> Deleting these time-stamp entries and running again doesn't seem
>>>>>>> to avoid the problem. This is building with a completely empty
>>>>>>> repo
>>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>>> different machines. I think something is screwed up with the
>>>>>>> pom or maven-metadata but I'm not up on maven enough to know what
>>>>>>> it is.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> [INFO]
>>>>>> ----------------------------------------------------------------------------
>>>>>>
>>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>> [INFO]
>>>>>> ----------------------------------------------------------------------------
>>>>>>
>>>>>>> [INFO] [clean:clean]
>>>>>>> [INFO] Deleting directory
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>>>> [INFO] Deleting directory
>>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>>>>> [INFO] Deleting directory
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>>>>
>>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>>> validate-java-version}]
>>>>>>> Downloading:
>>>>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>
>>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>>> Downloading:
>>>>>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>
>>>>>>> [WARNING] Unable to get resource from repository apache-incubator
>>>>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>>>> Downloading:
>>>>>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>
>>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>>> (http://repository.codehaus.org)
>>>>>>> Downloading:
>>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>
>>>>>>> [WARNING] Unable to get resource from repository
>>>>>>> apache-incubating-repository
>>>>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>>>>> Downloading:
>>>>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>>
>>>>>>> 31K downloaded
>>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>>> Time to build schema type system: 0.156 seconds
>>>>>>> Time to generate code: 0.125 seconds
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>> error: error reading
>>>>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>>>>
>>>>>>> error in opening zip file
>>>>>>> Note: Some input files use or override a deprecated API.
>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>> 1 error
>>>>>>>
>>>>>>> *******
>>>>>>>
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>> [ERROR] BUILD ERROR
>>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>> [INFO] XmlBeans compile failed:
>>>>>>> xml ErrorLoading schema file
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>>>>
>>>>>>> xml ErrorLoading config file
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>>>>
>>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>> [INFO] Total time: 12 minutes 20 seconds
>>>>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>>>>> [INFO] Final Memory: 62M/116M
>>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ____________________________________________________________________________________
>>>>>>
>>>>>> Don't get soaked. Take a quick peak at the forecast
>>>>>> with the Yahoo! Search weather shortcut.
>>>>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>>>>
>>>>>
>>>>>
>>>
>
Re: windows build failure
Posted by Tim McConnell <ti...@gmail.com>.
Hi Hernan, I just compared your output with mine (which is working for me
on Windows) and only see a few subtle environment differences. Here are
mine, but I doubt they'd change your results though:
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_07
JAVA_OPTS=-Xms512m -Xmx512m
M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.4
Hernan Cunico wrote:
> Just in case somebody is having the same prob I'm attaching "mvn install
> -e -X >> output.txt 2>>&1"
>
> Cheers!
> Hernan
>
> Hernan Cunico wrote:
>> Enabling extensions did not work for me.
>>
>> Cheers!
>> Hernan
>>
>> Donald Woods wrote:
>>> If you're using WinXP or Win2003 without Cygwin or other shell
>>> changes, try changing the following line in your <M2_HOME>\bin\mvn.bat -
>>> if "%OS%"=="Windows_NT" @setlocal
>>> to:
>>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>>
>>>
>>> -Donald
>>>
>>> Joe Bohn wrote:
>>>> No, I haven't attempted that yet. I'll give that a try a little
>>>> later. Right now I'm trying to see if building OpenEJB3 locally
>>>> makes any difference since I know of at least one person that isn't
>>>> hitting this problem but has built openejb3.
>>>>
>>>> Thanks for the responses and ideas.
>>>>
>>>> Joe
>>>>
>>>>
>>>> anita kulshreshtha wrote:
>>>>> Have you tried moving these 2 files to their rightful place, i.e. in
>>>>> 3.0-incubating-SNAPSHOT directory?
>>>>>
>>>>> container-3.0-incubating-20070123.025044-17.pom
>>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>
>>>>> Thanks
>>>>> Anita
>>>>>
>>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>>
>>>>>> I think the problem that Hernan reported last week building on
>>>>>> Windows is still alive and well. It doesn't seem to cause any
>>>>>> problems on
>>>>>> OSX.
>>>>>>
>>>>>> I was hitting it yesterday and just hit it again today with the
>>>>>> 2.0-M2 branch, rev. 499407.
>>>>>>
>>>>>>
>>>>>> It seems to me that there is something fishy with the
>>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
>>>>>> on windows (see the messages below between the "*******" lines I
>>>>>> inserted where there is an error reading and error in opening the
>>>>>> zip file).
>>>>>>
>>>>>>
>>>>>> This results in some strange entries in my local repo for the openejb
>>>>>>
>>>>>> container:
>>>>>>
>>>>>> +---3.0-incubating-20070123.025044-17
>>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>>> |
>>>>>> \---3.0-incubating-SNAPSHOT
>>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>>
>>>>>>
>>>>>> Deleting these time-stamp entries and running again doesn't seem
>>>>>> to avoid the problem. This is building with a completely empty repo
>>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>>> different machines. I think something is screwed up with the pom
>>>>>> or maven-metadata but I'm not up on maven enough to know what it is.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>>
>>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>>> [INFO] task-segment: [clean, install]
>>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>>
>>>>>> [INFO] [clean:clean]
>>>>>> [INFO] Deleting directory
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>>> [INFO] Deleting directory
>>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>>>> [INFO] Deleting directory
>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>>>> [INFO] [tools:require-java-version {execution:
>>>>>> validate-java-version}]
>>>>>> Downloading:
>>>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>
>>>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>>> Downloading:
>>>>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>
>>>>>> [WARNING] Unable to get resource from repository apache-incubator
>>>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>>> Downloading:
>>>>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>
>>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>>> (http://repository.codehaus.org)
>>>>>> Downloading:
>>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>
>>>>>> [WARNING] Unable to get resource from repository
>>>>>> apache-incubating-repository
>>>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>>>> Downloading:
>>>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>>
>>>>>> 31K downloaded
>>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>>> Time to build schema type system: 0.156 seconds
>>>>>> Time to generate code: 0.125 seconds
>>>>>>
>>>>>> *******
>>>>>>
>>>>>> error: error reading
>>>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>>>
>>>>>> error in opening zip file
>>>>>> Note: Some input files use or override a deprecated API.
>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>> 1 error
>>>>>>
>>>>>> *******
>>>>>>
>>>>>>
>>>>>> BUILD FAILED
>>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>> [INFO] XmlBeans compile failed:
>>>>>> xml ErrorLoading schema file
>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>>>
>>>>>> xml ErrorLoading config file
>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>>>
>>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>> [INFO] For more information, run Maven with the -e switch
>>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>> [INFO] Total time: 12 minutes 20 seconds
>>>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>>>> [INFO] Final Memory: 62M/116M
>>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ____________________________________________________________________________________
>>>>>
>>>>> Don't get soaked. Take a quick peak at the forecast
>>>>> with the Yahoo! Search weather shortcut.
>>>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>>>
>>>>
>>>>
>>
--
Thanks,
Tim McConnell
Re: windows build failure
Posted by Hernan Cunico <hc...@gmail.com>.
Just in case somebody is having the same prob I'm attaching "mvn install -e -X >> output.txt 2>>&1"
Cheers!
Hernan
Hernan Cunico wrote:
> Enabling extensions did not work for me.
>
> Cheers!
> Hernan
>
> Donald Woods wrote:
>> If you're using WinXP or Win2003 without Cygwin or other shell
>> changes, try changing the following line in your <M2_HOME>\bin\mvn.bat -
>> if "%OS%"=="Windows_NT" @setlocal
>> to:
>> if "%OS%"=="Windows_NT" @setlocal enableextensions
>>
>>
>> -Donald
>>
>> Joe Bohn wrote:
>>> No, I haven't attempted that yet. I'll give that a try a little
>>> later. Right now I'm trying to see if building OpenEJB3 locally
>>> makes any difference since I know of at least one person that isn't
>>> hitting this problem but has built openejb3.
>>>
>>> Thanks for the responses and ideas.
>>>
>>> Joe
>>>
>>>
>>> anita kulshreshtha wrote:
>>>> Have you tried moving these 2 files to their rightful place, i.e. in
>>>> 3.0-incubating-SNAPSHOT directory?
>>>>
>>>> container-3.0-incubating-20070123.025044-17.pom
>>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>
>>>> Thanks
>>>> Anita
>>>>
>>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>>
>>>>> I think the problem that Hernan reported last week building on
>>>>> Windows is still alive and well. It doesn't seem to cause any
>>>>> problems on
>>>>> OSX.
>>>>>
>>>>> I was hitting it yesterday and just hit it again today with the
>>>>> 2.0-M2 branch, rev. 499407.
>>>>>
>>>>>
>>>>> It seems to me that there is something fishy with the
>>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
>>>>> on windows (see the messages below between the "*******" lines I
>>>>> inserted where there is an error reading and error in opening the
>>>>> zip file).
>>>>>
>>>>>
>>>>> This results in some strange entries in my local repo for the openejb
>>>>>
>>>>> container:
>>>>>
>>>>> +---3.0-incubating-20070123.025044-17
>>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>>> |
>>>>> \---3.0-incubating-SNAPSHOT
>>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>>
>>>>>
>>>>> Deleting these time-stamp entries and running again doesn't seem to
>>>>> avoid the problem. This is building with a completely empty repo
>>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>>> different machines. I think something is screwed up with the pom
>>>>> or maven-metadata but I'm not up on maven enough to know what it is.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> [INFO]
>>>> ----------------------------------------------------------------------------
>>>>
>>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>>> [INFO] task-segment: [clean, install]
>>>>> [INFO]
>>>> ----------------------------------------------------------------------------
>>>>
>>>>> [INFO] [clean:clean]
>>>>> [INFO] Deleting directory
>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>>> [INFO] Deleting directory
>>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>>> [INFO] Deleting directory
>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>>> [INFO] [tools:require-java-version {execution:
>>>>> validate-java-version}]
>>>>> Downloading:
>>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>
>>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>
>>>>> [WARNING] Unable to get resource from repository apache-incubator
>>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>> Downloading:
>>>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>
>>>>> [WARNING] Unable to get resource from repository codehaus
>>>>> (http://repository.codehaus.org)
>>>>> Downloading:
>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>
>>>>> [WARNING] Unable to get resource from repository
>>>>> apache-incubating-repository
>>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>>> Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>>
>>>>> 31K downloaded
>>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>>> Time to build schema type system: 0.156 seconds
>>>>> Time to generate code: 0.125 seconds
>>>>>
>>>>> *******
>>>>>
>>>>> error: error reading
>>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>>
>>>>> error in opening zip file
>>>>> Note: Some input files use or override a deprecated API.
>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>> 1 error
>>>>>
>>>>> *******
>>>>>
>>>>>
>>>>> BUILD FAILED
>>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>> [INFO] XmlBeans compile failed:
>>>>> xml ErrorLoading schema file
>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>>
>>>>> xml ErrorLoading config file
>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>>
>>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>> [INFO] Total time: 12 minutes 20 seconds
>>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>>> [INFO] Final Memory: 62M/116M
>>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ____________________________________________________________________________________
>>>>
>>>> Don't get soaked. Take a quick peak at the forecast
>>>> with the Yahoo! Search weather shortcut.
>>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>>
>>>
>>>
>
Re: windows build failure
Posted by Hernan Cunico <hc...@gmail.com>.
Enabling extensions did not work for me.
Cheers!
Hernan
Donald Woods wrote:
> If you're using WinXP or Win2003 without Cygwin or other shell changes,
> try changing the following line in your <M2_HOME>\bin\mvn.bat -
> if "%OS%"=="Windows_NT" @setlocal
> to:
> if "%OS%"=="Windows_NT" @setlocal enableextensions
>
>
> -Donald
>
> Joe Bohn wrote:
>> No, I haven't attempted that yet. I'll give that a try a little
>> later. Right now I'm trying to see if building OpenEJB3 locally makes
>> any difference since I know of at least one person that isn't hitting
>> this problem but has built openejb3.
>>
>> Thanks for the responses and ideas.
>>
>> Joe
>>
>>
>> anita kulshreshtha wrote:
>>> Have you tried moving these 2 files to their rightful place, i.e. in
>>> 3.0-incubating-SNAPSHOT directory?
>>>
>>> container-3.0-incubating-20070123.025044-17.pom
>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>
>>> Thanks
>>> Anita
>>>
>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>
>>>> I think the problem that Hernan reported last week building on
>>>> Windows is still alive and well. It doesn't seem to cause any
>>>> problems on
>>>> OSX.
>>>>
>>>> I was hitting it yesterday and just hit it again today with the
>>>> 2.0-M2 branch, rev. 499407.
>>>>
>>>>
>>>> It seems to me that there is something fishy with the
>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
>>>> on windows (see the messages below between the "*******" lines I
>>>> inserted where there is an error reading and error in opening the
>>>> zip file).
>>>>
>>>>
>>>> This results in some strange entries in my local repo for the openejb
>>>>
>>>> container:
>>>>
>>>> +---3.0-incubating-20070123.025044-17
>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>> |
>>>> \---3.0-incubating-SNAPSHOT
>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>
>>>>
>>>> Deleting these time-stamp entries and running again doesn't seem to
>>>> avoid the problem. This is building with a completely empty repo
>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>> different machines. I think something is screwed up with the pom
>>>> or maven-metadata but I'm not up on maven enough to know what it is.
>>>>
>>>>
>>>>
>>>>
>>>> [INFO]
>>> ----------------------------------------------------------------------------
>>>
>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>> [INFO] task-segment: [clean, install]
>>>> [INFO]
>>> ----------------------------------------------------------------------------
>>>
>>>> [INFO] [clean:clean]
>>>> [INFO] Deleting directory
>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>> [INFO] Deleting directory
>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>> [INFO] Deleting directory
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>> [INFO] [tools:require-java-version {execution:
>>>> validate-java-version}]
>>>> Downloading:
>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository apache-incubator
>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>> Downloading:
>>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository codehaus
>>>> (http://repository.codehaus.org)
>>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository
>>>> apache-incubating-repository
>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>> Downloading:
>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> 31K downloaded
>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>> Time to build schema type system: 0.156 seconds
>>>> Time to generate code: 0.125 seconds
>>>>
>>>> *******
>>>>
>>>> error: error reading
>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>
>>>> error in opening zip file
>>>> Note: Some input files use or override a deprecated API.
>>>> Note: Recompile with -Xlint:deprecation for details.
>>>> 1 error
>>>>
>>>> *******
>>>>
>>>>
>>>> BUILD FAILED
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [INFO] XmlBeans compile failed:
>>>> xml ErrorLoading schema file
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>
>>>> xml ErrorLoading config file
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 12 minutes 20 seconds
>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>> [INFO] Final Memory: 62M/116M
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>> ____________________________________________________________________________________
>>>
>>> Don't get soaked. Take a quick peak at the forecast
>>> with the Yahoo! Search weather shortcut.
>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>
>>
>>
Re: windows build failure
Posted by Joe Bohn <jo...@earthlink.net>.
I gave this a try but the results were the same. Building openejb3
locally didn't make any difference either.
At this point, I do not think this problem is a road-block for 2.0-M2.
My hunch is still that it's something in the pom or maven-metadata that
is causing a problem from Windows ... so a fix would *hopefully* not
involve a change to Geronimo directly.
It is very strange that it seems some people have this problem on
Windows and other's don't.
Thanks for the suggestions.
Joe
Donald Woods wrote:
> If you're using WinXP or Win2003 without Cygwin or other shell changes,
> try changing the following line in your <M2_HOME>\bin\mvn.bat -
> if "%OS%"=="Windows_NT" @setlocal
> to:
> if "%OS%"=="Windows_NT" @setlocal enableextensions
>
>
> -Donald
>
> Joe Bohn wrote:
>> No, I haven't attempted that yet. I'll give that a try a little
>> later. Right now I'm trying to see if building OpenEJB3 locally makes
>> any difference since I know of at least one person that isn't hitting
>> this problem but has built openejb3.
>>
>> Thanks for the responses and ideas.
>>
>> Joe
>>
>>
>> anita kulshreshtha wrote:
>>> Have you tried moving these 2 files to their rightful place, i.e. in
>>> 3.0-incubating-SNAPSHOT directory?
>>>
>>> container-3.0-incubating-20070123.025044-17.pom
>>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>>
>>> Thanks
>>> Anita
>>>
>>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>>
>>>> I think the problem that Hernan reported last week building on
>>>> Windows is still alive and well. It doesn't seem to cause any
>>>> problems on
>>>> OSX.
>>>>
>>>> I was hitting it yesterday and just hit it again today with the
>>>> 2.0-M2 branch, rev. 499407.
>>>>
>>>>
>>>> It seems to me that there is something fishy with the
>>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
>>>> on windows (see the messages below between the "*******" lines I
>>>> inserted where there is an error reading and error in opening the
>>>> zip file).
>>>>
>>>>
>>>> This results in some strange entries in my local repo for the openejb
>>>>
>>>> container:
>>>>
>>>> +---3.0-incubating-20070123.025044-17
>>>> | container-3.0-incubating-20070123.025044-17.pom
>>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>>> |
>>>> \---3.0-incubating-SNAPSHOT
>>>> container-3.0-incubating-SNAPSHOT.pom
>>>>
>>>>
>>>> Deleting these time-stamp entries and running again doesn't seem to
>>>> avoid the problem. This is building with a completely empty repo
>>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>>> different machines. I think something is screwed up with the pom
>>>> or maven-metadata but I'm not up on maven enough to know what it is.
>>>>
>>>>
>>>>
>>>>
>>>> [INFO]
>>> ----------------------------------------------------------------------------
>>>
>>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>>> [INFO] task-segment: [clean, install]
>>>> [INFO]
>>> ----------------------------------------------------------------------------
>>>
>>>> [INFO] [clean:clean]
>>>> [INFO] Deleting directory
>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>>> [INFO] Deleting directory
>>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>>> [INFO] Deleting directory
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>>> [INFO] [tools:require-java-version {execution:
>>>> validate-java-version}]
>>>> Downloading:
>>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository apache-incubator
>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>> Downloading:
>>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository codehaus
>>>> (http://repository.codehaus.org)
>>>> Downloading:
>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> [WARNING] Unable to get resource from repository
>>>> apache-incubating-repository
>>>> (http://people.apache.org/repo/m2-incubating-repository)
>>>> Downloading:
>>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>>
>>>> 31K downloaded
>>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>>> Time to build schema type system: 0.156 seconds
>>>> Time to generate code: 0.125 seconds
>>>>
>>>> *******
>>>>
>>>> error: error reading
>>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>>
>>>> error in opening zip file
>>>> Note: Some input files use or override a deprecated API.
>>>> Note: Recompile with -Xlint:deprecation for details.
>>>> 1 error
>>>>
>>>> *******
>>>>
>>>>
>>>> BUILD FAILED
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [INFO] XmlBeans compile failed:
>>>> xml ErrorLoading schema file
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>>
>>>> xml ErrorLoading config file
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>>
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 12 minutes 20 seconds
>>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>>> [INFO] Final Memory: 62M/116M
>>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>> ____________________________________________________________________________________
>>>
>>> Don't get soaked. Take a quick peak at the forecast
>>> with the Yahoo! Search weather shortcut.
>>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>>
>>
>>
Re: windows build failure
Posted by Donald Woods <dr...@yahoo.com>.
If you're using WinXP or Win2003 without Cygwin or other shell changes,
try changing the following line in your <M2_HOME>\bin\mvn.bat -
if "%OS%"=="Windows_NT" @setlocal
to:
if "%OS%"=="Windows_NT" @setlocal enableextensions
-Donald
Joe Bohn wrote:
> No, I haven't attempted that yet. I'll give that a try a little later.
> Right now I'm trying to see if building OpenEJB3 locally makes any
> difference since I know of at least one person that isn't hitting this
> problem but has built openejb3.
>
> Thanks for the responses and ideas.
>
> Joe
>
>
> anita kulshreshtha wrote:
>> Have you tried moving these 2 files to their rightful place, i.e. in
>> 3.0-incubating-SNAPSHOT directory?
>>
>> container-3.0-incubating-20070123.025044-17.pom
>> container-3.0-incubating-20070123.025044-17.pom.sha1
>>
>> Thanks
>> Anita
>>
>> --- Joe Bohn <jo...@earthlink.net> wrote:
>>
>>> I think the problem that Hernan reported last week building on
>>> Windows is still alive and well. It doesn't seem to cause any
>>> problems on
>>> OSX.
>>>
>>> I was hitting it yesterday and just hit it again today with the
>>> 2.0-M2 branch, rev. 499407.
>>>
>>>
>>> It seems to me that there is something fishy with the
>>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
>>> on windows (see the messages below between the "*******" lines I
>>> inserted where there is an error reading and error in opening the zip
>>> file).
>>>
>>>
>>> This results in some strange entries in my local repo for the openejb
>>>
>>> container:
>>>
>>> +---3.0-incubating-20070123.025044-17
>>> | container-3.0-incubating-20070123.025044-17.pom
>>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>>> |
>>> \---3.0-incubating-SNAPSHOT
>>> container-3.0-incubating-SNAPSHOT.pom
>>>
>>>
>>> Deleting these time-stamp entries and running again doesn't seem to
>>> avoid the problem. This is building with a completely empty repo
>>> and clean %tmp% with a fresh checkout. I've recreated on 2
>>> different machines. I think something is screwed up with the pom or
>>> maven-metadata but I'm not up on maven enough to know what it is.
>>>
>>>
>>>
>>>
>>> [INFO]
>> ----------------------------------------------------------------------------
>>
>>> [INFO] Building Geronimo :: OpenEJB :: Builder
>>> [INFO] task-segment: [clean, install]
>>> [INFO]
>> ----------------------------------------------------------------------------
>>
>>> [INFO] [clean:clean]
>>> [INFO] Deleting directory
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>>> [INFO] Deleting directory
>>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>>> [INFO] Deleting directory
>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>>> [INFO] [tools:require-java-version {execution:
>>> validate-java-version}]
>>> Downloading:
>> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>
>>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>>> Downloading:
>> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>
>>> [WARNING] Unable to get resource from repository apache-incubator
>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>> Downloading:
>> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>
>>> [WARNING] Unable to get resource from repository codehaus
>>> (http://repository.codehaus.org)
>>> Downloading:
>> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>
>>> [WARNING] Unable to get resource from repository
>>> apache-incubating-repository
>>> (http://people.apache.org/repo/m2-incubating-repository)
>>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>>
>>> 31K downloaded
>>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>>> Time to build schema type system: 0.156 seconds
>>> Time to generate code: 0.125 seconds
>>>
>>> *******
>>>
>>> error: error reading
>> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>>
>>> error in opening zip file
>>> Note: Some input files use or override a deprecated API.
>>> Note: Recompile with -Xlint:deprecation for details.
>>> 1 error
>>>
>>> *******
>>>
>>>
>>> BUILD FAILED
>>> [INFO]
>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>> ------------------------------------------------------------------------
>>> [INFO] XmlBeans compile failed:
>>> xml ErrorLoading schema file
>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>>
>>> xml ErrorLoading config file
>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>>
>>> [INFO]
>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>> ------------------------------------------------------------------------
>>> [INFO] Total time: 12 minutes 20 seconds
>>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>>> [INFO] Final Memory: 62M/116M
>>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>>
>>
>> ____________________________________________________________________________________
>>
>> Don't get soaked. Take a quick peak at the forecast
>> with the Yahoo! Search weather shortcut.
>> http://tools.search.yahoo.com/shortcuts/#loc_weather
>>
>
>
Re: windows build failure
Posted by Joe Bohn <jo...@earthlink.net>.
No, I haven't attempted that yet. I'll give that a try a little later.
Right now I'm trying to see if building OpenEJB3 locally makes any
difference since I know of at least one person that isn't hitting this
problem but has built openejb3.
Thanks for the responses and ideas.
Joe
anita kulshreshtha wrote:
> Have you tried moving these 2 files to their rightful place, i.e. in
> 3.0-incubating-SNAPSHOT directory?
>
> container-3.0-incubating-20070123.025044-17.pom
> container-3.0-incubating-20070123.025044-17.pom.sha1
>
> Thanks
> Anita
>
> --- Joe Bohn <jo...@earthlink.net> wrote:
>
>> I think the problem that Hernan reported last week building on
>> Windows
>> is still alive and well. It doesn't seem to cause any problems on
>> OSX.
>>
>> I was hitting it yesterday and just hit it again today with the
>> 2.0-M2
>> branch, rev. 499407.
>>
>>
>> It seems to me that there is something fishy with the
>> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
>> on
>> windows (see the messages below between the "*******" lines I
>> inserted
>> where there is an error reading and error in opening the zip file).
>>
>>
>> This results in some strange entries in my local repo for the openejb
>>
>> container:
>>
>> +---3.0-incubating-20070123.025044-17
>> | container-3.0-incubating-20070123.025044-17.pom
>> | container-3.0-incubating-20070123.025044-17.pom.sha1
>> |
>> \---3.0-incubating-SNAPSHOT
>> container-3.0-incubating-SNAPSHOT.pom
>>
>>
>> Deleting these time-stamp entries and running again doesn't seem to
>> avoid the problem. This is building with a completely empty repo
>> and
>> clean %tmp% with a fresh checkout. I've recreated on 2 different
>> machines. I think something is screwed up with the pom or
>> maven-metadata but I'm not up on maven enough to know what it is.
>>
>>
>>
>>
>> [INFO]
>>
> ----------------------------------------------------------------------------
>> [INFO] Building Geronimo :: OpenEJB :: Builder
>> [INFO] task-segment: [clean, install]
>> [INFO]
>>
> ----------------------------------------------------------------------------
>> [INFO] [clean:clean]
>> [INFO] Deleting directory
>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
>> [INFO] Deleting directory
>> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
>> [INFO] Deleting directory
>>
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
>> [INFO] [tools:require-java-version {execution:
>> validate-java-version}]
>> Downloading:
>>
> http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>> [WARNING] Unable to get resource from repository tomcat-m2-repo
>> (http://tomcat.apache.org/dev/dist/m2-repository/)
>> Downloading:
>>
> http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>> [WARNING] Unable to get resource from repository apache-incubator
>> (http://people.apache.org/repo/m2-incubating-repository/)
>> Downloading:
>>
> http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>> [WARNING] Unable to get resource from repository codehaus
>> (http://repository.codehaus.org)
>> Downloading:
>>
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>> [WARNING] Unable to get resource from repository
>> apache-incubating-repository
>> (http://people.apache.org/repo/m2-incubating-repository)
>> Downloading:
>>
> http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
>> 31K downloaded
>> [INFO] [xmlbeans:xmlbeans {execution: default}]
>> Time to build schema type system: 0.156 seconds
>> Time to generate code: 0.125 seconds
>>
>> *******
>>
>> error: error reading
>>
> c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>> error in opening zip file
>> Note: Some input files use or override a deprecated API.
>> Note: Recompile with -Xlint:deprecation for details.
>> 1 error
>>
>> *******
>>
>>
>> BUILD FAILED
>> [INFO]
>>
> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>>
> ------------------------------------------------------------------------
>> [INFO] XmlBeans compile failed:
>> xml ErrorLoading schema file
>>
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
>> xml ErrorLoading config file
>>
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>> [INFO]
>>
> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>>
> ------------------------------------------------------------------------
>> [INFO] Total time: 12 minutes 20 seconds
>> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
>> [INFO] Final Memory: 62M/116M
>> [INFO]
>>
> ------------------------------------------------------------------------
>
>
>
>
> ____________________________________________________________________________________
> Don't get soaked. Take a quick peak at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
>
Re: windows build failure
Posted by anita kulshreshtha <a_...@yahoo.com>.
Have you tried moving these 2 files to their rightful place, i.e. in
3.0-incubating-SNAPSHOT directory?
container-3.0-incubating-20070123.025044-17.pom
container-3.0-incubating-20070123.025044-17.pom.sha1
Thanks
Anita
--- Joe Bohn <jo...@earthlink.net> wrote:
> I think the problem that Hernan reported last week building on
> Windows
> is still alive and well. It doesn't seem to cause any problems on
> OSX.
>
> I was hitting it yesterday and just hit it again today with the
> 2.0-M2
> branch, rev. 499407.
>
>
> It seems to me that there is something fishy with the
> container-3.0-incubating-SNAPSHOT.pom that only seems to cause grief
> on
> windows (see the messages below between the "*******" lines I
> inserted
> where there is an error reading and error in opening the zip file).
>
>
> This results in some strange entries in my local repo for the openejb
>
> container:
>
> +---3.0-incubating-20070123.025044-17
> | container-3.0-incubating-20070123.025044-17.pom
> | container-3.0-incubating-20070123.025044-17.pom.sha1
> |
> \---3.0-incubating-SNAPSHOT
> container-3.0-incubating-SNAPSHOT.pom
>
>
> Deleting these time-stamp entries and running again doesn't seem to
> avoid the problem. This is building with a completely empty repo
> and
> clean %tmp% with a fresh checkout. I've recreated on 2 different
> machines. I think something is screwed up with the pom or
> maven-metadata but I'm not up on maven enough to know what it is.
>
>
>
>
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] Building Geronimo :: OpenEJB :: Builder
> [INFO] task-segment: [clean, install]
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target
> [INFO] Deleting directory
> C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\classes
> [INFO] Deleting directory
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\target\test-classes
> [INFO] [tools:require-java-version {execution:
> validate-java-version}]
> Downloading:
>
http://tomcat.apache.org/dev/dist/m2-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository tomcat-m2-repo
> (http://tomcat.apache.org/dev/dist/m2-repository/)
> Downloading:
>
http://people.apache.org/repo/m2-incubating-repository//org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository apache-incubator
> (http://people.apache.org/repo/m2-incubating-repository/)
> Downloading:
>
http://repository.codehaus.org/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository codehaus
> (http://repository.codehaus.org)
> Downloading:
>
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> [WARNING] Unable to get resource from repository
> apache-incubating-repository
> (http://people.apache.org/repo/m2-incubating-repository)
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-ejb_3.0_spec/1.0-M1/geronimo-ejb_3.0_spec-1.0-M1.jar
> 31K downloaded
> [INFO] [xmlbeans:xmlbeans {execution: default}]
> Time to build schema type system: 0.156 seconds
> Time to generate code: 0.125 seconds
>
> *******
>
> error: error reading
>
c:\m2repo\org\apache\openejb\container\3.0-incubating-SNAPSHOT\container-3.0-incubating-SNAPSHOT.pom;
>
> error in opening zip file
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 1 error
>
> *******
>
>
> BUILD FAILED
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] XmlBeans compile failed:
> xml ErrorLoading schema file
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\geronimo-openejb-2.0.xsd
> xml ErrorLoading config file
>
C:\geronimo2.0-M2\modules\geronimo-openejb-builder\src\main\schema\xmlconfig.xml
>
> [INFO]
>
------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Total time: 12 minutes 20 seconds
> [INFO] Finished at: Wed Jan 24 09:26:39 EST 2007
> [INFO] Final Memory: 62M/116M
> [INFO]
>
------------------------------------------------------------------------
>
____________________________________________________________________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather