Tommaso,
The path to the Jalopy formating definition file is wrong. Just correct
it in LTK/LTKJava/src/main/resources/generator.properties (If you did
not change the location, it should be formatDefinitions =
src/main/resources/formatDefinitions.xml)
If you build it using ant, the wrong path will still lead to the
exception, however the library should still be built but the source
files are not nicely formatted.
HTH
++ Basil
Tommaso Innocenti wrote:
> I have a problem with the ant builder.
> I use eclipse and I've followed yours instruction to build the code
> but I have a problem, the builder doesn't format the generated files
> and give me this response:
>
>
> [echo] Formatting generated classes ...
> [java] Exception in thread "main"
> java.lang.IllegalStateException: no input source specified
> [java] 0 [main] WARN org.llrp.ltkGenerator.CodeFormatter
> - formatting file not correctly set
> [java] at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1026)
> [java] at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
> [java] at
> org.llrp.ltkGenerator.CodeFormatter.formatFile(CodeFormatter.java:97)
> [java] at
> org.llrp.ltkGenerator.CodeFormatter.formatDirectory(CodeFormatter.java:61)
> [java] at
> org.llrp.ltkGenerator.CodeFormatter.main(CodeFormatter.java:125)
> [java] Java Result: 1
>
> Have I mistake something?
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> llrp-toolkit-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel