db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: torque project compile with ant
Date Tue, 05 Dec 2006 16:36:03 GMT
Do not use the schema files and the  from the test project as templates for
your own project. The schema files from the test project are processed
through a filter which replaces the @ tokens.
Better start with the examples from the tutorial.

    Thomas

"Aljosa Mohorovic" <aljosa.mohorovic@gmail.com> schrieb am 05.12.2006
16:30:47:

> i get this error when i try "ant -f build-torque.xml compile", any idea
why?
> i searched wiki and google but didn't find anything.
>
> >>>
> Buildfile: build-torque.xml
>
> compile:
>     [javac] Compiling 24 source files to C:\Documents and
> Settings\Administrator\Desktop\torque-gen-3.3-RC1\test\bin\classes
>     [javac] C:\Documents and
> Settings\Administrator\Desktop\torque-gen-3.3-
> RC1\test\target\java\org\apache\torque\linkage\@databaseDefault@MapInit.
> java:12:
> <identifier> expected
>     [javac] public class @databaseDefault@MapInit
>     [javac]              ^
>     [javac] C:\Documents and
> Settings\Administrator\Desktop\torque-gen-3.3-
> RC1\test\target\java\org\apache\torque\linkage\@databaseDefault@MapInit.
> java:16:
> '{' expected
>     [javac] ^
>     [javac] C:\Documents and
> Settings\Administrator\Desktop\torque-gen-3.3-
>
RC1\test\target\java\torque\generated\map\@databaseDefault@MapInit.java:13:
> <identifier> expected
>     [javac] public class @databaseDefault@MapInit
>     [javac]              ^
>     [javac] C:\Documents and
> Settings\Administrator\Desktop\torque-gen-3.3-
>
RC1\test\target\java\torque\generated\map\@databaseDefault@MapInit.java:21:
> '{' expected
>     [javac] ^
>     [javac] 4 errors
> <<<
>
> --
> Aljosa Mohorovic
>
> http://www.revolucija.hr
> Ivana Lucica 5
> 10000 Zagreb, Croatia
>
> +385 (0)1 616 8414
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


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


Mime
View raw message