dev@glassfish.java.net

Re: Glassfish cvs checkout errors

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 12 Oct 2006 09:06:48 -0700

I think the fact that it didn't work for me, then worked later
without changes indicates a bug in the build (which might be due to
cvs, maven or anything). Probably it's network related, but I've
seen problems on Windows and Mac over periods of months...problems
that go away on their own.


On Oct 11, 2006, at 3:55 PM, Jim Jiang wrote:

> Dinesh,
>
> I still got similar error. My steps:
> 1.Created the build.properties with 2 entry setting under my %
> HOMEPATH% (C:\Documents and Settings\jim).
> glassfish.os.name=WINNT
> glassfish.cvs.username=jj156416
> 2. Then run the cmd: cvs update -d glassfish\bootstrap.
> 3. cd glassfish/bootstrap. run: maven checkout
> I got following error messages:
>
> BUILD FAILED
> File...... file:/D:/work/glassfish/src/glassfish/bootstrap/maven.xml
> Element... maven:reactor
> Line...... 230
> Column.... 40
> Error parsing project.xml 'D:\work\glassfish\src\glassfish\bootstrap
> \..\..\glassfish\bootstrap\maven.xml'
>
>
> I have succeeded with just changing 2 entries in
> project.properties, but the way did not work either this time. Here
> are my further questions and suggestions:
>
> * What's the use of the 2 entries glassfish.os.name and
> glassfish.cvs.username in project.properties? Could it be remove
> to avoid confusing.
> * If the error was caused by build.properties setting, could the
> error info be prompted more accurately?
> * Had better prompt the HOMEPATH with an example for windows user.
>
> Thanks,
> Jim
>
>
> Dinesh Patil wrote:
>
>> Jim,
>> is your build issue resolved? if not please verify if all the pre-
>> requisites are correctly setup..
>> http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=BuildInformation#qs
>> Also try on fresh workspace after setting up the variables in
>> $HOME/build.properties file.
>> thanks
>> Dinesh
>>
>> Shreedhar Ganapathy wrote:
>>
>>> Hi Jim
>>> I assume you are referring to the build document located at
>>> http://www.glassfishwiki.org/gfwiki/Wiki.jsp?page=BuildInformation
>>>
>>> point number 2 sort of answers your question but I agree it
>>> could be clearer :
>>> <snip>
>>> Configure Build Variables: Create workspace/glassfish/bootstrap/
>>> build.properties or for re-usable GlassFish workspace, one-time
>>> process is to create${HOME}/build.properties (Unix) or %HOMEPATH%
>>> \build.properties (Windows) and set following variables.
>>>
>>> glassfish.os.name=<OS Name: Possible values- WINNT,
>>> SunOS, Linux, SunOS_X86, Darwin>
>>> glassfish.cvs.username=<java.net id >
>>>
>>> Following two variables don't need to be configured,
>>> this
>>> is just for information. Default values are set to:
>>> glassfish.root=${basedir}/../.. (basedir -directory
>>> points to where project.xml is present)
>>> glassfish.home=${glassfish.root}/publish/glassfish =>
>>> e.g. /workspace/publish/glassfish
>>>
>>> *</snip>*
>>> In other words, if you would like to have a reusable
>>> build.properties file whereby you do not have to set this up each
>>> time a new build is created or recreated, you should place the
>>> file in your home dir with the two entries. By default, the
>>> build.properties file does not exist in the <workspace>/glassfish/
>>> bootstrap directory when you checkout sources.
>>>
>>> Hope this helps.
>>>
>>> regards
>>> Shreedhar
>>>
>>> Jim Jiang wrote:
>>>
>>>> Dinesh,
>>>>
>>>> I met the errors exactly with Lloyd . My OS is windows XP.
>>>> And after I deleted bootstrap module and updated again.
>>>> I still got the errors when I try to run maven:
>>>>
>>>> //DEPRECATED: the default goal should be specified in the
>>>> <build> section of proje
>>>> ct.xml instead of maven.xml
>>>> build:start:
>>>>
>>>> all:
>>>> bootstrap:
>>>> pre-bootstrap:
>>>> Trying to get missing/snapshot dependencies required by glassfish:
>>>> Attempting to download glassfish-image-SNAPSHOT.jar.
>>>> Skipping download as local copy is up to date!
>>>>
>>>>
>>>> BUILD FAILED
>>>> File...... file:/D:/work/glassfish/src/glassfish/bootstrap/
>>>> maven.xml
>>>> Element... ant:unzip
>>>> Line...... 43
>>>> Column.... 118
>>>> java.lang.StackOverflowError
>>>> Total time : 7 seconds/ /
>>>>
>>>> Any thoughts?
>>>> Jim
>>>>
>>>> Dinesh Patil wrote:
>>>>
>>>>> Yes this was network glitch which exposed some bug in cvs..
>>>>> but after deleting the module and in new workspace this issue
>>>>> is resolved.
>>>>> thanks
>>>>> Dinesh
>>>>>
>>>>> Lloyd L Chambers wrote:
>>>>>
>>>>>> This is on Mac OS X.
>>>>>>
>>>>>> On Oct 3, 2006, at 11:58 AM, Lloyd L Chambers wrote:
>>>>>>
>>>>>>> Dinesh,
>>>>>>>
>>>>>>> It's very odd. If I do a 'maven checkout' from within
>>>>>>> glassfish/ bootstrap, it always fails in glassfish/admin/ws-
>>>>>>> mgmt/tests/com/sun/ enterprise/admin/wsmgmt/repository.
>>>>>>>
>>>>>>> If I go into glassfish/admin and do a "cvs update -d", it
>>>>>>> succeeds.
>>>>>>>
>>>>>>> Thoughts?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Lloyd
>>>>>>>
>>>>>>> On Oct 3, 2006, at 11:59 AM, Dinesh Patil wrote:
>>>>>>>
>>>>>>>> GlassFish Workspace status is OK, no issues on checkout or
>>>>>>>> build..
>>>>>>>> http://glassfishbuildtools.sun.com:8000/hudson/job/glassfish/
>>>>>>>> it may be env problem or network glitch, few mins back, I
>>>>>>>> couldn't access internet on my internal network. so try it
>>>>>>>> again it may get resolved.
>>>>>>>> I have started the build on local machine and going fine.
>>>>>>>> thanks
>>>>>>>> Dinesh
>>>>>>>>
>>>>>>>> Lloyd L Chambers wrote:
>>>>>>>>
>>>>>>>>> I am internal (SCA14):
>>>>>>>>>
>>>>>>>>> d-usca14-133-153:/gf/build/glassfish/bootstrap lloyd$
>>>>>>>>> ping cvs.dev.java.net
>>>>>>>>> PING cvs.dev.java.net (64.125.133.206): 56 data bytes
>>>>>>>>> 64 bytes from 64.125.133.206: icmp_seq=0 ttl=240 time=6.900 ms
>>>>>>>>> 64 bytes from 64.125.133.206: icmp_seq=1 ttl=240 time=9.364 ms
>>>>>>>>> 64 bytes from 64.125.133.206: icmp_seq=2 ttl=240 time=9.246 ms
>>>>>>>>> ^C
>>>>>>>>> --- cvs.dev.java.net ping statistics ---
>>>>>>>>> 3 packets transmitted, 3 packets received, 0% packet loss
>>>>>>>>> round-trip min/avg/max/stddev = 6.900/8.503/9.364/1.135 ms
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Oct 3, 2006, at 11:49 AM, Dinesh Patil wrote:
>>>>>>>>>
>>>>>>>>>> Lloyd L Chambers wrote:
>>>>>>>>>>
>>>>>>>>>>> Has something changed? 'maven checkout' goes through a
>>>>>>>>>>> number of modules, then fails:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Lloyd,
>>>>>>>>>> nothing has changed recently.. pls check your network
>>>>>>>>>> settings and try pinging cvs.dev.java.net when this
>>>>>>>>>> happens, your internet connection may have problem.
>>>>>>>>>> thanks
>>>>>>>>>> Dinesh
>>>>>>>>>>
>>>>>>>>>>> ------------
>>>>>>>>>>>
>>>>>>>>>>> [cvs] cvs server: Updating glassfish/admin/ws-mgmt/
>>>>>>>>>>> tests/ com/ sun/ enterprise/admin/wsmgmt/registry
>>>>>>>>>>> [cvs] cvs server: Updating glassfish/admin/ws-mgmt/
>>>>>>>>>>> tests/ com/ sun/ enterprise/admin/wsmgmt/repository
>>>>>>>>>>>
>>>>>>>>>>> BUILD FAILED
>>>>>>>>>>> File...... /gf/build/glassfish/bootstrap/maven.xml
>>>>>>>>>>> Element... maven:reactor
>>>>>>>>>>> Line...... 230
>>>>>>>>>>> Column.... 40
>>>>>>>>>>> Unable to obtain goal [checkout-pe] -- /gf/build/
>>>>>>>>>>> glassfish/ bootstrap/ maven.xml:214:56: <ant:cvs> cvs
>>>>>>>>>>> exited with error code 1
>>>>>>>>>>> Command line was [Executing 'cvs' with arguments:
>>>>>>>>>>> '-d:pserver:llc_at_cvs.dev.java.net:/cvs'
>>>>>>>>>>> 'checkout'
>>>>>>>>>>> 'glassfish/admin'
>>>>>>>>>>>
>>>>>>>>>>> The ' characters around the executable and arguments are
>>>>>>>>>>> not part of the command.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> environment:
>>>>>>>>>>>
>>>>>>>>>>> AMX_API_SRC=/gf/build/glassfish/admin-core/mbeanapi
>>>>>>>>>>> APS_HOME=/gf/build/glassfish/appserv-tests
>>>>>>>>>>> GF_RUN=/gf/run
>>>>>>>>>>> TERM_PROGRAM=Apple_Terminal
>>>>>>>>>>> GF=/gf
>>>>>>>>>>> AMX_IMPL_SRC=/gf/build/glassfish/admin/mbeanapi-impl
>>>>>>>>>>> SHELL=/bin/bash
>>>>>>>>>>> TERM=xterm-color
>>>>>>>>>>> TERM_PROGRAM_VERSION=133
>>>>>>>>>>> GF_SRC=/gf/build/glassfish
>>>>>>>>>>> USER=lloyd
>>>>>>>>>>> __CF_USER_TEXT_ENCODING=0x1F5:0:0
>>>>>>>>>>> PATH=/Applications/Utilities/diglloyd/
>>>>>>>>>>> diglloydTools:/ Applications/Utilities/diglloyd/
>>>>>>>>>>> diglloydTools:/Applications/ Utilities/ diglloyd/
>>>>>>>>>>> diglloydTools:/Applications/Utilities/ diglloyd/
>>>>>>>>>>> diglloydTools:/Applications/Utilities/diglloyd/
>>>>>>>>>>> diglloydTools:/ Applications/Utilities/diglloyd/
>>>>>>>>>>> diglloydTools:/ Applications/Utilities/ diglloyd/
>>>>>>>>>>> disktester:/tools/maven-1.0.2/ bin:/tools/maven-1.0.2/
>>>>>>>>>>> bin:/ bin:/sbin:/usr/bin:/usr/sbin
>>>>>>>>>>> MAVEN_HOME=/tools/maven-1.0.2
>>>>>>>>>>> PWD=/gf/build/glassfish/bootstrap
>>>>>>>>>>> JAVA_HOME=/usr
>>>>>>>>>>> ADMIN_SRC=/gf/build/glassfish/admin
>>>>>>>>>>> ADMIN_CORE_SRC=/gf/build/glassfish/admin-core
>>>>>>>>>>> S1AS_HOME=/gf/run
>>>>>>>>>>> HOME=/Users/lloyd
>>>>>>>>>>> SHLVL=2
>>>>>>>>>>> LOGNAME=lloyd
>>>>>>>>>>> SECURITYSESSIONID=5aacf0
>>>>>>>>>>> _=/usr/bin/java
>>>>>>>>>>> JAVA_MAIN_CLASS_319=com.werken.forehead.Forehead
>>>>>>>>>>> CVS_PASSFILE=/Users/lloyd/.cvspass]
>>>>>>>>>>> Total time: 1 minutes 3 seconds
>>>>>>>>>>> Finished at: Tue Oct 03 11:30:04 PDT 2006
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>>> ------ ---
>>>>>>>>>>> To unsubscribe, e-mail: dev-
>>>>>>>>>>> unsubscribe_at_glassfish.dev.java.net
>>>>>>>>>>> For additional commands, e-mail: dev-
>>>>>>>>>>> help_at_glassfish.dev.java.net
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -------------------------------------------------------------
>>>>>>>>>> ------ --
>>>>>>>>>> To unsubscribe, e-mail: dev-
>>>>>>>>>> unsubscribe_at_glassfish.dev.java.net
>>>>>>>>>> For additional commands, e-mail: dev-
>>>>>>>>>> help_at_glassfish.dev.java.net
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --------------------------------------------------------------
>>>>>>>>> ------ -
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>> For additional commands, e-mail: dev-
>>>>>>>>> help_at_glassfish.dev.java.net
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------
>>>>>>>> ------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: dev-
>>>>>>>> help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>
>>>>>>> ----------------------------------------------------------------
>>>>>>> -----
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>> -----------------------------------------------------------------
>>>>>> ----
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ---
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> --
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>