You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by "Edwards, Peter" <ed...@genrad.com> on 2000/07/13 17:33:07 UTC

Failing to build Slide

I have just joined this list so please forgive me if I've missed the
relevant information in earlier posts. I have checked out Slide from CVS and
am following through the README instructions and have discovered a couple of
problems.

1. The Slide README does not refer to the fact that you must download and
build the Regexp package before building Catalina.

2. To build Catalina, type "build all" so that the necessary files are
placed in the correct places. Just "build" is not sufficient. I picked up
these last 2 instructions by reading the Catalina README.

3. The Avalon 2.2 distribution was not available and it took me a while to
figure out how to get it from CVS. More instruction would be helpful:
	The CVSROOT is jservpub@cvs.working-dogs.com:/products/cvs/master
	It uses passwd authentication and the password is jservpub
	Get the "framework" package

4. When I run "build" on Slide, very little happens - I found you have to do
"build dist"

5. Then it fails because some classes have been removed from the latest
version of Avalon. See errors below:
    [javac] Compiling 1 source files to D:\Java\CVS\build\slide\classes
    [javac]
D:\Java\CVS\jakarta-slide\src\share\org\apache\slide\common\Domain.java:81:
Class org.apache.avalon.loader.Populate not found in import.
    [javac] import org.apache.avalon.loader.Populate;
    [javac]        ^
    [javac]
D:\Java\CVS\jakarta-slide\src\share\org\apache\slide\common\Domain.java:82:
Class org.apache.avalon.loader.ConfigurationElement not found in import.

    [javac] import org.apache.avalon.loader.ConfigurationElement;
    [javac]        ^
    [javac] 2 errors

BUILD FAILED

build.xml:132: Compile failed 

I see that these files were in Avalon 2.1 but that doesn't help Slide to
build either. Is slide going to be updated soon to be compatible with Avalon
2.2? Will an Avalon distribution be made available?

Basically I cannot go further at present - any help would be appreciated

Pete


____________________________________________________________________________
____
Pete Edwards	: Principle Software Engineer, R&D Department, GenRad ADS
			: Orion Business Park, Bird Hall Lane, Stockport,
Cheshire, SK3 OXG, United Kingdom
Direct line		: +44 (0)161 491 9127
Fax			: +44 (0)161 491 9106

Email		: edwardsp@genrad.co.uk <ma...@genrad.co.uk>




Re: Failing to build Slide

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

Sorry, I'm a few messages back ... I was on vacation, and just got back in
the USA.

> I have just joined this list so please forgive me if I've missed the
> relevant information in earlier posts. I have checked out Slide from CVS
and
> am following through the README instructions and have discovered a couple
of
> problems.
>
> 1. The Slide README does not refer to the fact that you must download and
> build the Regexp package before building Catalina.
>
> 2. To build Catalina, type "build all" so that the necessary files are
> placed in the correct places. Just "build" is not sufficient. I picked up
> these last 2 instructions by reading the Catalina README.

That's correct. You have to use every step necessary to get a working build
of Catalina. It changes every now and then, so that's why it's not in sync.

> 3. The Avalon 2.2 distribution was not available and it took me a while to
> figure out how to get it from CVS. More instruction would be helpful:
> The CVSROOT is jservpub@cvs.working-dogs.com:/products/cvs/master
> It uses passwd authentication and the password is jservpub
> Get the "framework" package

Correct again.
You can get 2.1 from the FTP.

> 4. When I run "build" on Slide, very little happens - I found you have to
do
> "build dist"
>
> 5. Then it fails because some classes have been removed from the latest
> version of Avalon. See errors below:
>     [javac] Compiling 1 source files to D:\Java\CVS\build\slide\classes
>     [javac]
>
D:\Java\CVS\jakarta-slide\src\share\org\apache\slide\common\Domain.java:81:
> Class org.apache.avalon.loader.Populate not found in import.
>     [javac] import org.apache.avalon.loader.Populate;
>     [javac]        ^
>     [javac]
>
D:\Java\CVS\jakarta-slide\src\share\org\apache\slide\common\Domain.java:82:
> Class org.apache.avalon.loader.ConfigurationElement not found in import.
>
>     [javac] import org.apache.avalon.loader.ConfigurationElement;
>     [javac]        ^
>     [javac] 2 errors
>
> BUILD FAILED
>
> build.xml:132: Compile failed
>
> I see that these files were in Avalon 2.1 but that doesn't help Slide to
> build either. Is slide going to be updated soon to be compatible with
Avalon
> 2.2? Will an Avalon distribution be made available?

Slide works with Avalon 2.1, so you can use it in the meantime.
The Avalon guys changed the API very recently, and I still need to update. I
will do that by tomorrow.

> Basically I cannot go further at present - any help would be appreciated

Remy


Avalon related problems

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

I looked into the Avalon related problems.

It seems like neither Avalon 2.1 nor the latest version of Avalon in CVS
work correctly with Catlina and Slide. I have a version in between those two
(just before they started using JNDI) which is working fine, so I assume
it's an Avalon problem.

I suggest you don't try to run Slide with Avalon in the meantime, and
instead use the catalina-dist build target.
The go into the ../dist/dav directory, and use the command : bin/dav run

Hope this helps ...

I'm adding an abstraction layer to the logger and the configuration file
parsing, so that the core Slide is no longer dependent on Avalon (only the
avalon-dist target will be dependent on Avalon).

Remy