Hi Alex, I don't have access to edit on confluence. I signed up with my gmail account, but don't see any way to add or edit pages. There are no edit restrictions listed, so I might be blind, or am I missing something?
Thanks, liam On Wed, Sep 18, 2013 at 1:18 PM, Alex Boisvert <[email protected]>wrote: > Hi Liam, > > What do you think of adding it to our How-To section? > https://cwiki.apache.org/confluence/display/BUILDR/Buildr+HowTos > > The ECJ version should be configurable without changing code (through > build.yaml or via buildfile) .. if it isn't, yes, please send in a patch. > > Best way is to create a Jira issue here: > https://issues.apache.org/jira/browse/BUILDR > > Attach your patch, check the option to license to ASF, and if you have a > git fork you can reference it in the text. > > alex > > > > On Wed, Sep 18, 2013 at 10:58 AM, Liam Christopher < > [email protected]> wrote: > > > Hi again, > > I managed to get this working, after finding there was a core lib that > > already did this, I have a separate, simplified file just for running ecj > > like so: > > > > load 'buildfile.dependencies' > > > > require 'buildr/java/ecj' > > > > include Buildr::Compiler > > > > define "api-ecj" do > > options.test = "no" > > compile.with(DEPENDENCIES) > > compile.using( > > :warnings=>true, > > :debug=>true, > > :deprecation=>true, > > :target=>'1.6', > > :source=>'1.6', > > :lint=>true, > > # :other=>["-verbose","-Xmaxerrs", "9999","-Xmaxwarns", > > "9999"] > > ) > > end > > > > Is there anyway we could put something like this in the main docs as an > > example? > > > > Also, I updated the compiler version to a more recent compiler > > (from ecj.rb) > > > > #Java.classpath << "org.eclipse.jdt.core.compiler:ecj:jar:3.5.1" > > Java.classpath << 'org.eclipse.jdt.core.compiler:ecj:jar:4.2.2' #The > prior > > version did not check for rawtypes errors > > > > I've got this changed in a github fork that I'd like to submit for future > > versions (and I'm looking at updating a few other addons), should I just > > submit a pull request to the main project, or is there a better way to > find > > a POC? There doesn't seem to be a lot of activity on this project > overall. > > > > Thanks, > > liam > > > > > > On Tue, Sep 17, 2013 at 10:03 AM, Liam Christopher < > > [email protected]> wrote: > > > > > Hi folks, > > > I'm using jenkins to build/test our Java app, and I'd like to be able > to > > > get both the eclipse and javac warnings during the build process. I > know > > I > > > can pull the compiler through the dependencies, but I'm not really > clear > > on > > > how to run the actual compiler. > > > > > > Has anyone gotten this to work? > > > > > > Thanks, > > > liam > > > > > >
