[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-user
Subject:    Re: Starting from nothing to build slide
From:       "Remy Maucherat" <remm () apache ! org>
Date:       2000-07-28 22:25:16
[Download RAW message or body]

> Pretty good for early on!  O.K., here's a newbie's experience.
>
> Not running yet.  Got jCVS to run - checked out slide.
> Followed README.  This all is trivial stuff (except to newbies).
> - no mention of regexp until a build failed.

Actually, this is a Catalina dependency. The README file says "Try to run
Catalina, to see if everything is correctly set up", so the error will occur
here.
I'll add something telling to refer to the Catalina's README file for
Catalina related build issues.

> - watchdog build failed big time, but I didn't want to run tests anyway
> ;).
> - catalina built and ran beautifully
> - I couldn't find avalon 2.2, so I thought I'd use catalina, but
> could not produce a dist directory to run from.  Will work on
> it later.

You can use the "dist" target for that, but that's ok since it should not be
needed by Slide.

> So then:
> * Download Apache Avalon 2.2 from java.apache.org
>   Home page : http://java.apache.org/framework/index.html
>   http://java.apache.org/framework/dist/Avalon-2.2-dev.zip or
>   http://java.apache.org/framework/dist/Avalon-2.2-dev.tar.gz
>   If it's not available yet, get the source from CVS, and use the
>   "build dist" command to generate the files mentioned above.
>
> but avalon is Avalon-2.1-dev.tar.gz   06-Jun-2000 13:51 -- o.k.?
> Use 2.1?  Where IS the CVS for 2.2? ;)

I'm a bit out of sync with Avalon right now. 2.1 has bugs (and doesn't run
because of that), 2.2 is a bit too new right now.
You should run with Catalina instead.

> 1107 meme /export/home/ray/jakarta/jakarta-slide:./build.sh
> catalina-dist
> Buildfile: build.xml
> [...]
> doc:
>     [style] Transforming into /export/home/ray/jakarta/build/slide/doc
>
> BUILD FAILED
> build.xml:121: java.lang.ClassNotFoundException:
> org.apache.tools.ant.taskdefs.optional.XalanLiaison
> java.lang.ClassNotFoundException:
> org.apache.tools.ant.taskdefs.optional.XalanLiaison
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:120)
>         at
>
org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.java:210)
>         at
> org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:133)
>         at org.apache.tools.ant.Target.execute(Target.java:132)
>         at org.apache.tools.ant.Project.runTarget(Project.java:717)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:448)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:422)
>         at org.apache.tools.ant.Main.runBuild(Main.java:298)
>         at org.apache.tools.ant.Main.main(Main.java:119)
>
> Total time: 35 seconds
> --
>
> This is just the docs?  But it didn't produce a dist directory to use.

That's an Ant issue. Basically, it's a problem with the style taskdef I'm
using.
Either :
- Install Xalan or XSL:P on your system and bootstrap Ant again
- Edit the dependencies of "catalina-dist" target in build.xml and remove
"doc" from the list.

> I'm stuck for now.  ;)

Sorry ! I guess if Ant doesn't find any XSL processor, it shouldn't raise an
error but just skip the task ;-)

Remy

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic