You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Ray <ra...@boeing.com> on 2000/07/28 23:39:49 UTC

Starting from nothing to build slide

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. 
- 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.

Ray Allis
--
1067 meme /export/home/ray/jakarta/jakarta-watchdog:build.sh
/export/home/ray/jakarta/jakarta-watchdog .....
Building with classpath
/export/home/ray/jakarta/jakarta-regexp/jakarta-regexp-1.1.jar:../jakarta-ant/lib/ant.jar:/usr/java1.3/lib/tools.jar
Buildfile: build.xml
    [chmod] The src attribute is deprecated. Please use the file
attribute.
    [chmod] The src attribute is deprecated. Please use the file
attribute.

prepare:
    [mkdir] Created dir: /export/home/ray/jakarta/build/watchdog
[ ... ]
main:
    [javac] Compiling 315 source files to
/export/home/ray/jakarta/build/watchdog/webapps/servlet-tests/WEB-INF/classes
    [javac]
/export/home/ray/jakarta/jakarta-watchdog/src/server/servlet-tests/WEB-INF/classes/tests/GetGenericServletConfig.java:63:
Class org.apache.tools.moo.servlet.Constants not found in import.
    [javac] import org.apache.tools.moo.servlet.Constants;
    [javac]        ^
[ ... ]
    [javac]
/export/home/ray/jakarta/jakarta-watchdog/src/server/servlet-tests/WEB-INF/classes/tests/QueryString/JustName.java:71:
Superclass org.apache.tools.moo.servlet.ServletTest of class
tests.QueryString.JustName not found.
    [javac] extends ServletTest {
    [javac]         ^
    [javac] Too many errors.  (The limit on reported errors is 100.)
    [javac] 103 errors

BUILD FAILED

build.xml:66: Compile failed

Total time: 38 seconds
--

1079 meme
/export/home/ray/jakarta/jakarta-tomcat/proposals/catalina:build.sh all
Buildfile: build.xml
[...]
BUILD SUCCESSFUL

Total time: 47 seconds

*** catalina runs at port 8080

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? ;)

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.

I'm stuck for now.  ;)

Ray Allis

Re: Starting from nothing to build slide

Posted by Remy Maucherat <re...@apache.org>.
> 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


Nightly builds

Posted by Remy Maucherat <re...@apache.org>.
Hi,

Nightly builds of Slide are now available, both binary and source.
http://jakarta.apache.org/builds/jakarta-slide/nightly/

The distribution package is experimental right now, and is being refined
(suggestions are welcome !). I still need to add some scripts and
instructions, but this should help people having trouble building the
"catalina-dist" target, or having problems generating the documentation.

Remy