Sam Ruby wrote:
Stefano Mazzocchi wrote:

Sam Ruby wrote:

Stefano Mazzocchi wrote:

Ah, Sam, Steven, how do I access that cocoon-special gump stuff on cocoondev.org? that would likely reduce the try/fail cycle of 24 hours that is driving me nuts!


Please try the instructions I left at the following URL and let me know how it goes:

http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104782633424953&w=2


Ok, I'm running into troubles but I'm not sure I'm doing the right thing.

here is what I did

1) log into cocoondev.org


Check.

2) add gump and java to the path (I'm using /usr/j2sdk1.3.1, should I use 1.4.1?


Everything is built with /usr/j2sdk1.4.1_02. Cocoon may not require it, but some software does.

ok, cool, I'll use that.


When you say you add gump to your path, are you referring to '/usr/serverlocal/gump/bin'?

yep.


3) 'build gump clean' -> success
4) 'build gump verify' -> success
5) 'build gump scripts' -> success


Can you run "which build" to see if you you are using /usr/serverlocal/gump/bin/build?

yes, I am.


if I do

'build cocoon *'


I'm not sure why are you specifying '*'.

:) no, 'build cocoon *' meant 'build cocoon [whatever]' where [whatever] is all the things that the cocoon targets. I didn't write that.


What you should specify is the Ant target you desire. For cocoon, the target used by the build is "gump", so the proper command would be:

build cocoon gump

Yes, I did that but it failed because the CVS module wasn't updated.


[as instructed] the cvs modules are not updated and the build fails.


The build command doesn't update cvs modules. I could go into how all that works, but for now the best thing is for me to focus on your specific questions.

So, what I would like to do is:

- update all CVS


What do you mean by 'all'? Do you really mean every project? This process takes approximately 90 minutes. If that's what you really want, the command is 'update all'. But given that everything is freshly updated at midnight every night, I would suspect that what you really want to do is update a specific project. The easiest way to do this without disturbing anything else is to cd into that project and do a cvs update, thus:

    cd /usr/serverlocal/gump/cocoon-2.1/
    cvs -q update
    build cocoon clean gump

ok, this helps a lot.


- rebuild everything


Again, do you really mean everything? If so, the command is 'build all', but that really takes a long, long time and rarely is required.

ok.


If I try to to into /usr/serverlocal/gump and execute ./update.sh nothing happens. if I do ./build.sh I get a buch of 'permission denied' because I'm not into the cocoondev group.


Those are the right scripts. Generally the build and update front ends found in /usr/serverlocal/gump/bin make this a bit easier to use.

ah, gotcha.


Can you tell me what files you are having trouble getting access to?

Ok, I'm trying right now... wait...


all right, here is what I did (precisely):

 $ ssh www.cocoondev.org
 $ cd /usr/serverlocal/gump/cocoon-2.1
 $ cvs -q update
 $ cd /usr/serverlocal/gump/jakarta-gump
 $ cvs -q update
 $ cd
 $ build gump clean
 $ build gump verify
 $ build gump scripts
 $ build cocoon clean
 $ build cocoon gump-core

and I get a bunch of compilation errors.

If I run

$ build cocoon -v gump-core

I get

...
dropping /usr/serverlocal/gump/cocoon-2.1/usr/serverlocal/gump/avalon-excalibur/compatibility/build/lib/excalibur-compatibility-20030402.jar from path as it doesn't exist
dropping /usr/serverlocal/gump/cocoon-2.1/usr/serverlocal/gump/avalon-excalibur/instrument/build/lib/excalibur-instrument-20030402.jar from path as it doesn't exist
dropping /usr/serverlocal/gump/cocoon-2.1/usr/serverlocal/gump/avalon-excalibur/instrument-manager/build/lib/excalibur-instrument-manager-20030402.jar from path as it doesn't exist
dropping /usr/serverlocal/gump/cocoon-2.1/usr/serverlocal/gump/avalon-excalibur/instrument-manager/build/lib/excalibur-instrument-manager-interfaces-20030402.jar from path as it doesn't exist
...


It seems that there is something wrong in the way the Classpath is being created and passed along to Cocoon.

I think I'd better ask before trying to dive into your black-magic xml2sh.xslt stylesheets. ;-)

Am i doing something wrong or I simply don't have enough karma?

Please help.


I don't know if any of the above helps, but give it a try and let me know how it goes. I'll watch for more cries for help. ;-)

:-Prrr


Stefano.


P.S. I'm really thrilled that you are giving this a try!

Hell, if I had permantent internet connection in the last 5 years instead of a stinking pay-per-minute dialup thing would have been much different :/


But don't get used to it since I will probably have to go back to dialup soon.

Stefano.



Reply via email to