aboutsummaryrefslogtreecommitdiff
path: root/build.xml
AgeCommit message (Collapse)Author
2014-05-04thoroughly updated the launch targets for testing lombok in eclipse;Reinier Zwitserloot
they should now be able to handle running JDK8 etc tests. CAREFUL: You MUST name your JDK8 'JavaSE-1.8' or it won't work. Also added a basic test for JDK8 features.
2014-05-01some pretty significant changes to the build system, to try and add testing ↵Reinier Zwitserloot
against ecj8 to the lineup, and to force compilation with the bootstrap classpath of JDK6 so that we won't accidentally add deps on things that JVM6es don't have.
2014-03-18Merge branch 'master' into configurationRoel Spilker
Conflicts: build.xml src/core/lombok/eclipse/HandlerLibrary.java src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java src/core/lombok/javac/HandlerLibrary.java src/core/lombok/javac/handlers/JavacHandlerUtil.java
2014-03-04we copied the tests into the build dir for some reason, that was not neccessary.Reinier Zwitserloot
2014-03-04we copied the tests into the build dir for some reason, that was not neccessary.Reinier Zwitserloot
2014-03-04[configuration] Merge branch 'master' as we work on configuration.Reinier Zwitserloot
* Conflict due to adding topic() feature to logger in master, and 'field name' feature in config branch. * master has since updated to shiny new eclipse dep versions and the 'ant eclipseForDebugging' feature, but this branch added deps. Addressed that. * Renamed 'loggerCategory' to 'loggerTopic'. I know, that wasn't exactly right to do in a merge, but, there you have it. * Test infrastructure changed in configuration branch, and tests had been added in master branch. Conflicts: build.xml buildScripts/ivy.xml src/core/lombok/eclipse/handlers/HandleLog.java src/core/lombok/extern/apachecommons/CommonsLog.java src/core/lombok/extern/java/Log.java src/core/lombok/extern/log4j/Log4j.java src/core/lombok/extern/log4j/Log4j2.java src/core/lombok/javac/handlers/HandleLog.java test/transform/resource/after-ecj/ValInTryWithResources.java
2014-02-27Fixed debug template for LombokizedEclipse, and added 'local' option for ↵Reinier Zwitserloot
lombok.patcher.
2014-02-27fun times ant hacking to make the ant eclipseForDebugging task ask which ↵Reinier Zwitserloot
alternative you want in the face of multiple plugin versions.
2014-02-20Use the source for the source :-)Roel Spilker
2014-02-10fix to the new eclipseForDebugging target, which didnt work on windows due ↵Roel Spilker
to backslashes in paths getting eliminated when using a path in a regexp replace string.
2014-02-07[eclipse debugging] a new target, 'eclipseForDebugging', which imports deps ↵Reinier Zwitserloot
from your eclipse so that line numbers etc line up with your eclipse.
2014-01-31[configuration] Added first automated test for the configuration framework. ↵Roel Spilker
For now, it fails.
2013-07-28more progress. This one is less JDK8 compatible, butReinier Zwitserloot
it has major refactorings to make JDK6-8 support possibly with much prettier code.
2013-07-22Merge branch 'master' into jdk8. Also added some major fixes whilst merging.Reinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java src/utils/lombok/javac/CommentCatcher.java src/utils/lombok/javac/Javac.java
2013-07-07lombok's compile target is 1.6, but, eclipse project was generated as 1.7. ↵Reinier Zwitserloot
This caused a bunch of weirdness because eclipse changes a bunch of warnings and quickfixes based on this (such as complaining about lack of @SafeVarargs, a 1.7-only feature).
2013-07-07FINALLY! Found the cause of a really weird eclipse bug,Reinier Zwitserloot
where _ANY_ mention of com.sun.tools.javac.tree.TreeMaker, anywhere in a source file, would disable pretty much every intelligent part of what makes the 'I' in IDE in eclipse: No auto-complete, no 'go to declaration', etcetera, but only since Eclipse Juno (not fixed in Kepler either). It's the presence of src/stubs/com/sun/tools/javac/util/Context.java. I've moved Context to a special stubs directory that's only used for javac (so that we still get the benefit of getting some warnings and such when making command line builds), and removed the @Override annotations for where the stubbing is relevant (for methods that exist in javac7 but not in javac6 on interfaces we create implementations of). Furthermore, I did some extremely tricky work in making our version actuall compatible with the exact class signatures of both javac6- and javac7+'s versions; generation of synthetic methods for reified type parameters was causing havoc. A big stack of 'here be voodoo' comments unfortunately added to explain it all; necessary evil.
2013-04-05Update to newer version of ivyplusplusReinier Zwitserloot
2013-04-05Fixed small typoRobbert Jan Grootjans
2013-03-11changed the pattern for writing dependencies to the various lib/ directoriesReinier Zwitserloot
to be organization-name.jar instead of just name.jar, in order to account for the ever lovely and wonderful apache's crazy decision to call the entirely separate log4j v2.0 also 'log4j'. This does mean you'll have to 'ant clean'.
2013-03-11startOnFirstThread is no longer necessary on modern JVMs on mac.Reinier Zwitserloot
2013-03-08Test setup for JDK8 support.Robbert Jan Grootjans
Only Oracle provides builds for JDK8 atm, and there is no OpenJDK build, so the setup is slightly different. Files have to be copied manually from an installed JDK. For comparison purposes, an Oracle JDK7 option has been added too. This should be removed before merging to master.
2012-10-25Updated the setup test environment tasks in the build script to produce ↵Reinier Zwitserloot
eclipse launch targets IF the project has been treated as eclipse project ('.project' is present).
2012-10-23Typo fixes in build.xmlReinier Zwitserloot
2012-10-22Ever since we do a lot more than just calling 'parse' when running delombok ↵Reinier Zwitserloot
in our tests, the tests are in the unfortunate scenario where we always compile against a given javac (lib/build/javac6.jar), and always run the tests against a given javac, but that javac tries to use the bootclasspath of the host JRE, and if that is JRE7, you get all sorts of errors. I fixed it by still compiling against a given javac (we can only ship one lombok.jar after all), but having the test task run with a given bootclasspath and a given javac.jar. There are 2 tasks that download both rt.jar and javac.jar for either OpenJDK6 or OpenJDK7, and it writes a properties file with those locations. The test task will use this property file, and explain what you need to do if it is not there. Incidentally, this brought to light issue 422: Delombok in java7 produces VerifyErrors.
2012-03-26Trivial update to build script.Reinier Zwitserloot
2012-03-22build script now contains an explicit javadoc target.Reinier Zwitserloot
2012-01-31Fix for publish target in build file.Reinier Zwitserloot
2012-01-23further fixes to the build script. I think it's good now....Reinier Zwitserloot
2012-01-23Okay, now the build should be truly fixed again... at least, if you're ↵Reinier Zwitserloot
running on a 1.6 VM. The test run now has more fine-grained dependency control, in preparation for running tests against multiple different platform versions (javac1.6, old eclipse, new eclipse, etc)
2012-01-23Test script fixesRoel Spilker
2012-01-09Build was broken for fresh git clones.Reinier Zwitserloot
2012-01-09Added a test to make sure we never break ecj again.Reinier Zwitserloot
2011-12-19fixed publishing of the lombok-utils jar to the serverReinier Zwitserloot
2011-12-19Added building lombok-utils to build file.Reinier Zwitserloot
2011-12-12Added AUTHORS file to lombok.jar distributable.Reinier Zwitserloot
2011-11-07Changed copyright noticesRoel Spilker
2011-11-01Fixed issue 284 now also for java7, introduced more stubbingRoel Spilker
2011-10-31Add src/utils to the source pathsRoel Spilker
2011-10-24pretty big refactor; introduced a new source package which should be (and ↵Reinier Zwitserloot
is) separately compilable, i.e. has no deps on any of the others. This is preparation work for being able to access some of these from lombok.ast without creating a cyclic dependency nightmare.
2011-08-29trivialReinier Zwitserloot
2011-08-24whoops javac.jar got renamed to javac6.jarpeichhorn
2011-08-24To run the tests, having javac in the bootclasspath is required on all ↵peichhorn
platforms.
2011-08-15Integrated Philipp's proof-of-concept delombok in javac7 fix, and used someReinier Zwitserloot
creative stubbing to ensure both the javac7 and the javac6 source file can be loaded in the same project in eclipse without dependency warnings.
2011-08-15Changed dep name of 'javac' into 'javac6' and added 'javac7', mostly for ↵Reinier Zwitserloot
contrib purposes (we still compile against javac6, but having javac7 around for testing and such is nice).
2011-08-11Got delombok to work with JDK 1.7.peichhorn
For now PrettyCommentsPrinter is not able to print new features like JCTypeUnion, but first tests indicate that besides this it works just fine.
2011-07-18There's now 1 test suite that runs all tests, and 'ant eclipse' will make a ↵Roel Spilker
launch config that adds the appropriate -javaagent VM param to ensure the runWithEclipse tests work.
2011-06-13Updated to ivyplusplus 1.7 and used ivy:cachedunjar to shave a second off ↵Reinier Zwitserloot
build times.
2011-06-06ecj is now downloaded into lib/ecj. We don't currently use it for anything ↵Reinier Zwitserloot
anymore, but could be handy for automated testing and definitely handy for manual experimenting / testing.
2011-06-02the new eclipse dietparse test suite written by philipp requires junit to be ↵Reinier Zwitserloot
fired up with lombok as agent. Fixed that in the build script.
2011-05-16Robbert Jan excluded com/sun from the pack a while ago, but this by accident ↵Reinier Zwitserloot
also excluded jna which broke ecj apt support.