Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] Java Compiler

I think it is a good idea to reduce the number of dependencies.
- henrik

"Thomas Hallgren" <thomas@xxxxxxx> skrev i meddelandet 
news:mailman.3.1147941732.27367.buckminster-dev@xxxxxxxxxxx...
> Some parts of Buckminster (the jars containing contributed ant tasks) are 
> compiled using Ant today. Those tasks will fail when only a JRE is 
> installed (i.e. no JDK) since the ant javac task doesn't find the 
> compiler. Eclipse provides a great compiler and it would not be hard to 
> make that the default.
>
> If I understand correctly, the only thing we need to do is to supply the 
> 'compiler.build' property with a setting of 
> 'org.eclipse.jdt.core.JDTCompilerAdapter' and make sure it's on the ant 
> internal classpath prior to calling our ant builder.
>
> By doing this by default we would remove the need for an installed JDK in 
> order to build. Any objections?
>
> Regards,
> Thomas Hallgren
> 




Back to the top