[stringtemplate-interest] Unable to build java ST 3.2.1 using maven
Marziou, Gael
gael.marziou at hp.com
Thu Nov 5 06:55:11 PST 2009
Hi Jim,
BTW, there are 2 reasons why I want to recompile ST:
1. To be able to inspect local variables in debugger, it seems like the compiler options used to build ST do not include local variables (-g:[lines,vars,source]).
2. To fix a problem when an NPE in AutoIndentWriter.write(String str) line 150 when a custom AttributeRenderer returns null. How to report a bug? I think this should be caught and/or a descriptive error message logged.
Back to the compile issue:
CLASSPATH is not set.
I downloaded from
http://www.stringtemplate.org/download/stringtemplate-3.2.1.tar.gz
mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.5.0_07
Java home: C:\Program Files\Java\jdk1.5.0_07\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
Thanks,
Gael
> -----Original Message-----
> From: stringtemplate-interest-bounces at antlr.org
> [mailto:stringtemplate-interest-bounces at antlr.org] On Behalf
> Of Jim Idle
> Sent: Wednesday, November 04, 2009 5:04 PM
> To: stringtemplate-interest at antlr.org
> Subject: Re: [stringtemplate-interest] Unable to build java
> ST 3.2.1 using maven
>
> Should be. Do you have CLASSPATH set or something like that?
> Obviously it builds because we could not have released the
> jar otherwise ;-)
>
> I will try to check the source jar today, but building at the
> command line after mvn clean and making sure CLASSPATH is not
> set just worked on my local Windows Vista and Linux systems.
> Which source jar did you download - the one on the download page?
>
> Jim
More information about the stringtemplate-interest
mailing list