avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shash Chatterjee" <shash_l...@hotmail.com>
Subject Excalibur build problems
Date Wed, 03 Apr 2002 21:16:54 GMT
Hello, all.

I am a newbie, trying out the latest Ant-based improvements.  Good news is 
you guys don't have to pretend to be newbies, you have got one!  Let me 
start by crawling for now, hope to be able to contribute soon enough.

I have a clean checkout of jakarta-avalon-excalibur, I'm on Win2k and using 
Forte-4.0EA as the IDE (although that is immaterial for the momonet, since 
I'm using ant to build).  I did a "cvs update -r depchecking ...." copied 
straight out of depchecking.sh (aside question: should I have simply done a 
cvs update -r depchecking"?).

Then ran ant....what I got follows at the end.  Hope this helps in the 
build-debugging process.

Shash

jar:
check-environment:
check-datasource:
setup-properties:
filter-jdbc:
nofilter-jdbc:
prepare-jdbc:
prepare:
dependencies:
all/build.xml [160] java.io.FileNotFoundException: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all\depchecker.xml (The 
system cannot find the file specified)
BUILD FAILED
Total time: 1 second

Of course, all doesn't have a depchecker.xml.  A little digging shows that 
this is because all/default.properties defines "depchecker.prefix=.".  If I 
change to "..", then it gets past that hurdle.  Then I get:

jar:
check-environment:
check-datasource:
setup-properties:
filter-jdbc:
nofilter-jdbc:
prepare-jdbc:
prepare:
dependencies:
checkRequiredClass:
checkRequiredClass.fail:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
build.fail:
checkRequiredFileRemote:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
Updating files from dependency 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all/../concurrent
dependencies:
concurrent/build.xml [27] java.io.FileNotFoundException: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\concurrent\${depchecker.prefix}\depchecker.xml

(The system cannot find the path specified)
BUILD FAILED
Total time: 0 seconds

This looks like it is because, concurrent doesn't have a default.properties 
(maybe simply needs to be checked into CVS?).  I copied one from all, 
changed Name,  name, depchecker.prefix properties and tried again.

Ended up changing depchecker.prefix in instrument, event.  Wen't further, 
but I finally gave up, awaiting further help from you guys on this:

jar:
check-environment:
check-datasource:
setup-properties:
filter-jdbc:
nofilter-jdbc:
prepare-jdbc:
prepare:
dependencies:
checkRequiredClass:
checkRequiredClass.fail:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
build.fail:
checkRequiredFileRemote:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
build.fail:
checkRequiredFileRemote:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
build.fail:
checkRequiredFileRemote:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
Updating files from dependency 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all/../event
dependencies:
checkRequiredClass:
checkRequiredClass.fail:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
build.fail:
checkRequiredFileRemote:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
update_dependency:
build.fail:
checkRequiredFileRemote:
checkRequiredFile:
compile:
Created dir: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\build\classes
Compiling 20 source files to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\build\classes
prepare-conf:
Created dir: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\build\conf
Copying 2 files to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\build\conf
jar:
Created dir: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\build\lib
Building jar: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\build\lib\excalibur-event-1.0a.jar
test:
javadocs:
Created dir: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\dist\docs\api
Generating Javadoc
Javadoc execution
Loading source files for package org.apache.avalon.excalibur.event...
Constructing Javadoc information...
Standard Doclet version 1.4.0
Building tree for all the packages and classes...
Building index for all the packages and classes...
Building index for all classes...
dist.lite:
Copying 1 file to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\dist
Copying 1 file to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\dist
Copying 1 file to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\dist
Copying 1 file to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\event\dist
build.fail:
checkRequiredFileRemote:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
checkRequiredFileRemote:
get_dependency:
checkRequiredFile.fail:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
checkRequiredFileRemote:
get_dependency:
checkRequiredFile.fail:
checkRequiredFile:
checkIfLocal:
checkRequiredFileLocal:
checkRequiredFileRemote:
get_dependency:
checkRequiredFile.fail:
checkRequiredFile:
checkRequiredClass:
checkRequiredClass.fail:
checkRequiredClass:
checkRequiredClass.fail:
compile:
Created dir: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all\build\classes
Created dir: 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all\build\scratchpad
Copying 1 file to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all\build\src\org\apache\avalon\excalibur\datasource
Copying 1 file to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all\build\src\org\apache\avalon\excalibur\datasource
Compiling 86 source files to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all\build\classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
Compiling 126 source files to 
C:\Users\Shash\Netbeans\cvs\jakarta-avalon-excalibur\all\build\scratchpad
all/src/scratchpad/org/apache/avalon/excalibur/mpool/DefaultPoolManager.java 
[13] package org.apache.avalon.excalibur.command does not exist
import org.apache.avalon.excalibur.command.RepeatedCommand;
                                           ^
all/src/scratchpad/org/apache/avalon/excalibur/mpool/DefaultPoolManager.java 
[82] cannot resolve symbol
symbol  : class RepeatedCommand
location: class 
org.apache.avalon.excalibur.mpool.DefaultPoolManager.PoolManagerCommand
    private static final class PoolManagerCommand implements RepeatedCommand
                                                             ^
all/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java 
[16] package org.apache.avalon.excalibur.command does not exist
import org.apache.avalon.excalibur.command.Command;
                                           ^
all/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java 
[654] cannot resolve symbol
symbol  : class Command
location: class 
org.apache.avalon.excalibur.system.AbstractContainer.InitComponentHandlerCommand
    protected static final class InitComponentHandlerCommand implements 
Command
                                                                        ^
all/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java 
[695] cannot resolve symbol
symbol  : class Command
location: class 
org.apache.avalon.excalibur.system.AbstractContainer.DisposeComponentHandlerCommand
    protected static final class DisposeComponentHandlerCommand implements 
Command
                                                                           ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextManager.java 
[12] package org.apache.avalon.excalibur.altprofile.profiler does not exist
import 
org.apache.avalon.excalibur.altprofile.profiler.DefaultProfilerManager;
                                                       ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextManager.java 
[13] package org.apache.avalon.excalibur.command does not exist
import org.apache.avalon.excalibur.command.CommandManager;
                                           ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[10] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.CounterProfilePoint;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[11] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.Profilable;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[12] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.ProfilePoint;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[40] cannot resolve symbol
symbol  : class Profilable
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
    implements ObjectFactory, ThreadSafe, Profilable
                                          ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[42] cannot resolve symbol
symbol  : class CounterProfilePoint
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
    private CounterProfilePoint m_newInstance = new CounterProfilePoint(
            ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[45] cannot resolve symbol
symbol  : class CounterProfilePoint
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
    private CounterProfilePoint m_dispose = new CounterProfilePoint(
            ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[215] cannot resolve symbol
symbol  : class ProfilePoint
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
    public final ProfilePoint[] getProfilePoints()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[223] cannot resolve symbol
symbol  : class Profilable
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
    public final Profilable[] getChildProfilables()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/FactoryComponentHandler.java

[10] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.Profilable;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/FactoryComponentHandler.java

[11] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.ProfilePoint;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/FactoryComponentHandler.java

[31] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.FactoryComponentHandler
    implements ComponentHandler, Profilable
                                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/FactoryComponentHandler.java

[166] cannot resolve symbol
symbol  : class ProfilePoint
location: class 
org.apache.avalon.excalibur.system.handler.FactoryComponentHandler
    public final ProfilePoint[] getProfilePoints()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/FactoryComponentHandler.java

[171] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.FactoryComponentHandler
    public final Profilable[] getChildProfilables()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PerThreadComponentHandler.java

[10] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.Profilable;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PerThreadComponentHandler.java

[11] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.ProfilePoint;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PerThreadComponentHandler.java

[178] cannot resolve symbol
symbol  : class ProfilePoint
location: class 
org.apache.avalon.excalibur.system.handler.PerThreadComponentHandler
    public final ProfilePoint[] getProfilePoints()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PerThreadComponentHandler.java

[183] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.PerThreadComponentHandler
    public final Profilable[] getChildProfilables()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PoolableComponentHandler.java

[10] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.Profilable;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PoolableComponentHandler.java

[11] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.ProfilePoint;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PoolableComponentHandler.java

[158] cannot resolve symbol
symbol  : class ProfilePoint
location: class 
org.apache.avalon.excalibur.system.handler.PoolableComponentHandler
    public final ProfilePoint[] getProfilePoints()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PoolableComponentHandler.java

[163] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.PoolableComponentHandler
    public final Profilable[] getChildProfilables()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ThreadSafeComponentHandler.java

[10] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.Profilable;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ThreadSafeComponentHandler.java

[11] package org.apache.avalon.excalibur.altprofile does not exist
import org.apache.avalon.excalibur.altprofile.ProfilePoint;
                                              ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ThreadSafeComponentHandler.java

[172] cannot resolve symbol
symbol  : class ProfilePoint
location: class 
org.apache.avalon.excalibur.system.handler.ThreadSafeComponentHandler
    public final ProfilePoint[] getProfilePoints()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ThreadSafeComponentHandler.java

[177] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.ThreadSafeComponentHandler
    public final Profilable[] getChildProfilables()
                 ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextBuilder.java 
[4] package org.apache.avalon.excalibur.altprofile.profiler does not exist
import org.apache.avalon.excalibur.altprofile.profiler.ProfilerManager;
                                                       ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextBuilder.java 
[170] cannot resolve symbol
symbol  : class ProfilerManager
location: class org.apache.avalon.excalibur.system.util.ContextBuilder
    public void setInstrumentManager( ProfilerManager profiler )
                                      ^
all/src/scratchpad/org/apache/avalon/excalibur/mpool/DefaultPoolManager.java 
[46] cannot resolve symbol
symbol  : method enqueue  
(org.apache.avalon.excalibur.mpool.DefaultPoolManager.PoolManagerCommand)
location: interface org.apache.avalon.excalibur.event.Queue
                commandQueue.enqueue( new PoolManagerCommand( m_keyMap ) );
                            ^
all/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java 
[390] cannot resolve symbol
symbol  : method enqueue  
(org.apache.avalon.excalibur.system.AbstractContainer.InitComponentHandlerCommand)
location: interface org.apache.avalon.excalibur.event.Queue
                    m_commandQueue.enqueue(
                                  ^
all/src/scratchpad/org/apache/avalon/excalibur/system/AbstractContainer.java 
[433] cannot resolve symbol
symbol  : method enqueue  
(org.apache.avalon.excalibur.system.AbstractContainer.DisposeComponentHandlerCommand)
location: interface org.apache.avalon.excalibur.event.Queue
                    m_commandQueue.enqueue(
                                  ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextManager.java 
[316] cannot resolve symbol
symbol  : class CommandManager
location: class org.apache.avalon.excalibur.system.util.ContextManager
        CommandManager cm = new CommandManager();
        ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextManager.java 
[316] cannot resolve symbol
symbol  : class CommandManager
location: class org.apache.avalon.excalibur.system.util.ContextManager
        CommandManager cm = new CommandManager();
                                ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextManager.java 
[579] cannot resolve symbol
symbol  : class DefaultProfilerManager
location: class org.apache.avalon.excalibur.system.util.ContextManager
            DefaultProfilerManager profilerManager = new 
DefaultProfilerManager();
            ^
all/src/scratchpad/org/apache/avalon/excalibur/system/util/ContextManager.java 
[579] cannot resolve symbol
symbol  : class DefaultProfilerManager
location: class org.apache.avalon.excalibur.system.util.ContextManager
            DefaultProfilerManager profilerManager = new 
DefaultProfilerManager();
                                                         ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[42] cannot resolve symbol
symbol  : class CounterProfilePoint
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
    private CounterProfilePoint m_newInstance = new CounterProfilePoint(
                                                    ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[45] cannot resolve symbol
symbol  : class CounterProfilePoint
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
    private CounterProfilePoint m_dispose = new CounterProfilePoint(
                                                ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[217] cannot resolve symbol
symbol  : class ProfilePoint
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
        return new ProfilePoint[]{
                   ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ComponentFactory.java 
[225] cannot resolve symbol
symbol  : variable Profilable
location: class org.apache.avalon.excalibur.system.handler.ComponentFactory
        return Profilable.EMPTY_PROFILABLE_ARRAY;
               ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/FactoryComponentHandler.java

[168] cannot resolve symbol
symbol  : variable Profilable
location: class 
org.apache.avalon.excalibur.system.handler.FactoryComponentHandler
        return Profilable.EMPTY_PROFILE_POINT_ARRAY;
               ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/FactoryComponentHandler.java

[173] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.FactoryComponentHandler
        return new Profilable[]{
                   ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PerThreadComponentHandler.java

[180] cannot resolve symbol
symbol  : variable Profilable
location: class 
org.apache.avalon.excalibur.system.handler.PerThreadComponentHandler
        return Profilable.EMPTY_PROFILE_POINT_ARRAY;
               ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PerThreadComponentHandler.java

[185] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.PerThreadComponentHandler
        return new Profilable[]{
                   ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PoolableComponentHandler.java

[160] cannot resolve symbol
symbol  : variable Profilable
location: class 
org.apache.avalon.excalibur.system.handler.PoolableComponentHandler
        return Profilable.EMPTY_PROFILE_POINT_ARRAY;
               ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/PoolableComponentHandler.java

[165] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.PoolableComponentHandler
        return new Profilable[]{
                   ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ThreadSafeComponentHandler.java

[174] cannot resolve symbol
symbol  : variable Profilable
location: class 
org.apache.avalon.excalibur.system.handler.ThreadSafeComponentHandler
        return Profilable.EMPTY_PROFILE_POINT_ARRAY;
               ^
all/src/scratchpad/org/apache/avalon/excalibur/system/handler/ThreadSafeComponentHandler.java

[179] cannot resolve symbol
symbol  : class Profilable
location: class 
org.apache.avalon.excalibur.system.handler.ThreadSafeComponentHandler
        return new Profilable[]{
                   ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
53 errors
all/build.xml [289] Compile failed, messages should have been provided.
BUILD FAILED
Total time: 40 seconds


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message