did you update the
LTKJava/src/main/java/org/llrp/ltkGenerator/CodeFormatter.java file?
I just did a cvs update and run the compilation. It worked fine for me,
so I don't see the problem.
Please make sure you have ALL files up to date. Also, do an ant -clean
and rerun the generator.
If it still fails, can you run ant in verbose (ant -v) mode and send the
log file. I guess with this we shoud be able to figure out what is going on.
++ Basil
Tommaso Innocenti schrieb:
> I tried to re-download the code from cvs but the result is the same.
> I also tried to change in generator.properties the formatDefinitions
> property,
> but I didn't found it.
> Have you other Ideas?
>
> cheers.
>
> Tommaso
>
> 2008/2/29, Basil Gasser <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
> I changed the CodeFormatter Class so that it does not need the
> specification file anymore. The file was not needed anyway as the
> default formatting conventions are perfectly fine.
> Please do a cvs update and the problem will be gone.
>
> cheers.
>
> Basil
>
>
> Basil Gasser wrote:
> > 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]
> <mailto:[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]
> <mailto:[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]
> <mailto:[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
-------------------------------------------------------------------------
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