You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Robert Douglass <r....@onlinehome.de> on 2002/02/06 00:42:25 UTC
tdk: day 4: cannot build newapp
It is very difficult to build a newapp in the TDK 2.2. What does it mean
"failed to copy x to y due to null"?
##### properties in build.properties that I changed
tdk.home = c:/tdk
database=mysql
database.manual.creation = true
createDatabaseUrl = jdbc:mysql://127.0.0.1/Webs4
buildDatabaseUrl = jdbc:mysql://127.0.0.1/Webs4
databaseUrl = jdbc:mysql://127.0.0.1/Webs4
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = root
databasePassword =
databaseHost = 127.0.0.1
##### Webs4-schema.xml
<app-data>
<database>
<table name="site_text" idMethod="idbroker">
<column name="id" required="true" primaryKey="true" type="INTEGER"/>
<column name="text" type="LONGVARCHAR"/>
</table>
</database>
</app-data>
##### the console output
project-om:
[echo] +------------------------------------------+
[echo] | |
[echo] | Generating Peer-based Object Model for |
[echo] | YOUR Turbine project! Woo hoo! |
[echo] | |
[echo] +------------------------------------------+
[torque-om] C:\tdk\webapps\Webs4\WEB-INF\src\java\report.Webs4.om.generation
[format-source] Formatting 5 files
[format-source] Error: java.io.FileNotFoundException: C (Das System kann die
ang
egebene Datei nicht finden)
BUILD FAILED
C:\tdk\webapps\Webs4\WEB-INF\build\build.xml:199: Failed to copy
C:\tdk\webapps\
Webs4\WEB-INF\src\java\Webs4\om\map\SiteTextMapBuilder.java to
C:\tdk\webapps\We
bs4\WEB-INF\build\map\SiteTextMapBuilder.java due to null
Re: tdk: day 4: cannot build newapp
Posted by peter riegersperger <ri...@subnet.at>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 06 February 2002 00:42, Robert Douglass wrote:
> [torque-om]
> C:\tdk\webapps\Webs4\WEB-INF\src\java\report.Webs4.om.generation
> [format-source] Formatting 5 files
> [format-source] Error: java.io.FileNotFoundException: C (Das System kann
> die ang
> egebene Datei nicht finden)
i'd say that this is the problem.
i have not tried the tdk on windows, but apparently, your C:\tdk gets somehow
mangled into 'C' (can it be that ant considers the ':' as a file delimiter,
as on unix?).
probably try playing with the tdk_home a bit?
i'm sorry that i'm not much of a help here, but since you posted your question
already two times, i thought a not-so-helpful response might be better than
none.
cheers,
rick
ps: for all non-german speakers: the error message "(Das System kann
die angegebene Datei nicht finden)" means
"The system cannot find the file specified"
- --
|-
| peter riegersperger <ri...@subnet.at>
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+iVHfIMP39JYOy9IRAkswAKD3pVuKty09A6+hEvN+C9tnOVhIkwCg+/6v
BHLSNjuBbsavWB1kOScinz8=
=xkJE
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org