You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by Sam Ruby <ru...@us.ibm.com> on 2001/08/24 03:56:26 UTC

Call for volunteers: please try to reproduce the following failure

Depending on your operating system, adjust and execute one of the lines in
the first section below.  Then execute the second set in its entirety.
Then execute one of the lines in the third section below.

   export CLASSPATH
   =.:/usr/java/jdk1.3.1/lib/tools.jar:/usr/java/jdk1.3.1/jre/lib/rt.jar
   SET CLASSPATH=.;C:\jdk1.3.1\lib\tools.jar

   wget http://www.apache.org/~rubys/gump-fulcrum.zip
   cvs co jakarta-turbine-fulcrum
   unzip gump-fulcrum.zip
   cd jakarta-turbine-fulcrum

   sh build.sh
   call build.bat

What I am getting is as follows:

    [javac] Compiling 181 source files to D:\jakarta\jakarta-turbine-fulcrum\bin\classes
    [javac] D:\jakarta\jakarta-turbine-fulcrum\bin\src\org\apache\fulcrum\schedule\JobEntryPeer.java:10: package org.apache.turbine.services.db does
not exist
    [javac] import org.apache.turbine.services.db.*;
    [javac] ^
    [javac] D:\jakarta\jakarta-turbine-fulcrum\bin\src\org\apache\fulcrum\db\TurbineDatabaseService.java:198: warning:
getConnection(java.lang.String,java.lang.String,java.lang.String,java.lang.String) in org.apache.torque.Torque has been deprecated
    [javac]         return Torque.getConnection(driver, url, username, password);
    [javac]                      ^
    [javac] D:\jakarta\jakarta-turbine-fulcrum\bin\src\org\apache\fulcrum\security\impl\db\DBSecurityService.java:342: warning: getPrimaryKeyAsInt()
in org.apache.torque.om.BaseObject has been deprecated
    [javac]                 int id = ((BaseObject)user).getPrimaryKeyAsInt();
    [javac]                          ^
    [javac] D:\jakarta\jakarta-turbine-fulcrum\bin\src\org\apache\fulcrum\security\impl\db\DBSecurityService.java:490: warning: getPrimaryKeyAsInt()
in org.apache.torque.om.BaseObject has been deprecated
    [javac]                 int id = ((TurbineRole)role).getPrimaryKeyAsInt();
    [javac]                          ^
    [javac] D:\jakarta\jakarta-turbine-fulcrum\bin\src\org\apache\fulcrum\security\impl\db\entity\TurbineUserGroupRole.java:11:
org.apache.fulcrum.security.impl.db.entity.TurbineUserGroupRole should be declared abstract; it does not define
setPrimaryKey(org.apache.turbine.services.db.om.ObjectKey) in org.apache.fulcrum.security.impl.db.entity.TurbineUserGroupRole
    [javac] public  class TurbineUserGroupRole
    [javac]         ^
    [javac] D:\jakarta\jakarta-turbine-fulcrum\bin\src\org\apache\fulcrum\security\impl\db\entity\TurbineRolePermission.java:11:
org.apache.fulcrum.security.impl.db.entity.TurbineRolePermission should be declared abstract; it does not define
setPrimaryKey(org.apache.turbine.services.db.om.ObjectKey) in org.apache.fulcrum.security.impl.db.entity.TurbineRolePermission
    [javac] public  class TurbineRolePermission
    [javac]         ^
    [javac] 3 errors
    [javac] 3 warnings

If you do try this, please let us know what errors and warnings you get (if any).

- Sam Ruby


---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org


[Gump] Cactus change

Posted by Vincent Massol <vm...@octo.com>.
Hi Sam,

Could you add a dependency on commons-httpclient in the Cactus definition
files (both for cactus-22 and cactus-23) ?

The name of the property is "httpclient.jar".

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org


Re: Call for volunteers: please try to reproduce the following failure

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Sam,

OK, I have problems with your zip.

It did not contain a build.xml - I grabbed latest from CVS
This failed because it relies on build.properties - not sure why some of
those constants aren't just defaulted in the build file but whatever. I
grabbed build.properties from CVS

It then failed because it couldn't find the source - I edited the
build.properties to point to my CVS work area for fulcrum

Finally it failed with
check-om:

BUILD FAILED

F:\gump\jakarta-turbine-3\conf\master not found.

Total time: 2 seconds


Not sure if I have done something wrong. I thought the zip would be
self-contained. Let me know if you have more info.

Conor


----- Original Message -----
From: "Sam Ruby" <ru...@us.ibm.com>
To: <al...@jakarta.apache.org>; <tu...@jakarta.apache.org>
Cc: "Jon Stevens" <jo...@latchkey.com>; "Jason van Zyl" <jv...@apache.org>
Sent: Friday, August 24, 2001 11:56 AM
Subject: Call for volunteers: please try to reproduce the following failure


> Depending on your operating system, adjust and execute one of the lines
in
> the first section below.  Then execute the second set in its entirety.
> Then execute one of the lines in the third section below.
>
>    export CLASSPATH
>    =.:/usr/java/jdk1.3.1/lib/tools.jar:/usr/java/jdk1.3.1/jre/lib/rt.jar
>    SET CLASSPATH=.;C:\jdk1.3.1\lib\tools.jar
>
>    wget http://www.apache.org/~rubys/gump-fulcrum.zip
>    cvs co jakarta-turbine-fulcrum
>    unzip gump-fulcrum.zip
>    cd jakarta-turbine-fulcrum
>
>    sh build.sh
>    call build.bat
>



---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org


Re: Call for volunteers: please try to reproduce the following failure

Posted by Jon Stevens <jo...@latchkey.com>.
on 8/23/01 6:56 PM, "Sam Ruby" <ru...@us.ibm.com> wrote:

>   [javac] Compiling 181 source files to
> D:\jakarta\jakarta-turbine-fulcrum\bin\classes
>   [javac] 
> D:\jakarta\jakarta-turbine-fulcrum\bin\src\org\apache\fulcrum\schedule\JobEntr
> yPeer.java:10: package org.apache.turbine.services.db does
> not exist
>   [javac] import org.apache.turbine.services.db.*;
>   [javac] ^

Ok, something about whatever version of Torque you are using to generate
this class is causing things to fail here.

My JobEntryPeer.java looks like this:

package org.apache.fulcrum.schedule;

import java.util.*;
import com.workingdogs.village.*;
import org.apache.torque.map.*;
import org.apache.torque.pool.DBConnection;

// Local classes
import org.apache.fulcrum.schedule.map.*;

/**
 *  You should add additional methods to this class to meet the
 *  application requirements.  This class will only be generated as
 *  long as it does not already exist in the output directory.
 */
public class JobEntryPeer
    extends org.apache.fulcrum.schedule.BaseJobEntryPeer
{
}

The version of Torque in CVS in jakarta-turbine-torque does not create
package statements like what your version seems to be generating. My guess
is that somehow the version of Torque being used to build Fulcrum's stuff is
the one from jakarta-turbine-2 before we split things out...

thanks,

-jon


---------------------------------------------------------------------
To unsubscribe, e-mail: alexandria-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: alexandria-dev-help@jakarta.apache.org