You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by David Sean Taylor <da...@b3interactive.com> on 2001/03/27 06:48:30 UTC

[torque] build-project init

Running TDK 1.1a11 under w2000, and having a few problems with
'build-project init'

Created my newapp, then created my specific project-schema.xml, and then ran

build-project init

----------------------------------------------------------
Had one minor problem in the create-database task:

create-database:
../src/sql\create-database.bat

My MySQL Database isn't on my local machine, so this fails:

mysqladmin -u root -p --force drop sporteportal
mysqladmin -u root -p --force create sporteportal

To get it to work, I changed windows.vm:

mysqladmin -h $databaseHost -u $databaseUser -p$databasePassword --force
drop $project
mysqladmin -h $databaseHost -u $databaseUser -p$databasePassword --force
create $project

and in my .properties file, added new param, databaseHost to the context:

databaseHost = aMachineOnMyNetwork

and that fixed it
----------------------------------------------------------

Everything else went well until the end. One small problem in the compile
task.
It seems to have created classes prefixed with 'Base', but the class w/out
the prefix isn't generated.
Im sure this is an easy one, but I can't seem to figure it out, am I missing
a step?

project-om:
     [echo] +------------------------------------------+
     [echo] |                                          |
     [echo] | Generating Peer-based Object Model for   |
     [echo] | YOUR Turbine project! Woo hoo!           |
     [echo] |                                          |
     [echo] +------------------------------------------+
Property ${firstbuild.present} has not been
set../src/java\sporteportal.generation.report

compile:
    [javac] Compiling 9 source files to
\tdk\webapps\sporteportal\WEB-INF\classes
    [javac]
\tdk\webapps\sporteportal\WEB-INF\src\java\com\sporteportal\turbine\om\peer\
BaseSportPeer.java:17: Class com.sporteportal.turbine.om.Sport not found in
import.

    [javac] import com.sporteportal.turbine.om.Sport;
    [javac]        ^
    [javac]
\tdk\webapps\sporteportal\WEB-INF\src\java\com\sporteportal\turbine\om\peer\
BaseSportTeamPeer.java:17: Class com.sporteportal.turbine.om.SportTeam not
found in import.
    [javac] import com.sporteportal.turbine.om.SportTeam;
    [javac]        ^
    [javac] \tdk\webapps\sporteportal\WEB-INF\src\jav
....

Any help appreciated...thanks, david


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


tdk mailing list Re: [torque] build-project init

Posted by Jon Stevens <jo...@latchkey.com>.
on 3/27/01 8:19 AM, "Jason van Zyl" <jv...@apache.org> wrote:

> There is a tdk mailing list, it is not listed but it is active.
> If you are trying to get jetspeed working in the TDK then I will
> do everything I can to help you get it running. I would like all
> turbine projects working with the TDK.
> 
> Here's the mailing list subscribe address:
> 
> turbine-tdk-dev-subscribe@jakarta.apache.org

it is on the website now.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


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


Re: [torque] build-project init

Posted by Jason van Zyl <jv...@apache.org>.
David Sean Taylor wrote:
> 
> Running TDK 1.1a11 under w2000, and having a few problems with
> 'build-project init'
> 
> Created my newapp, then created my specific project-schema.xml, and then ran
> 
> build-project init
> 
> ----------------------------------------------------------
> Had one minor problem in the create-database task:
> 
> create-database:
> ../src/sql\create-database.bat
> 
> My MySQL Database isn't on my local machine, so this fails:
> 
> mysqladmin -u root -p --force drop sporteportal
> mysqladmin -u root -p --force create sporteportal
> 
> To get it to work, I changed windows.vm:
> 
> mysqladmin -h $databaseHost -u $databaseUser -p$databasePassword --force
> drop $project
> mysqladmin -h $databaseHost -u $databaseUser -p$databasePassword --force
> create $project
> 
> and in my .properties file, added new param, databaseHost to the context:
> 
> databaseHost = aMachineOnMyNetwork
> 

Ok, I will add some code to deal with the database host. It doesn't
deal with that which isn't very good. That's an easy one.


As far as the peer problem, everything works well in the new
TDK which should be released today. I will just add some code
for the database host and release it again.

There is a tdk mailing list, it is not listed but it is active.
If you are trying to get jetspeed working in the TDK then I will
do everything I can to help you get it running. I would like all
turbine projects working with the TDK.

Here's the mailing list subscribe address:

turbine-tdk-dev-subscribe@jakarta.apache.org

-- 
jvz.

Jason van Zyl
jvanzyl@apache.com

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://tambora.zenplex.org

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