Fixed showstopper bugs we ran into when actually running with these changes. Related to

8353911b1d
This commit is contained in:
Reinier Zwitserloot committed 2009-06-15 22:32:19 +02:00
1 parent c4cd04b7d2
commit d2ffd52636
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@
</jar>
<jar basedir="build/eclipse.agent" destfile="dist/lombok.eclipse.agent-${lombok.version}.jar">
<manifest>
<attribute name="Premain-Class" value="lombok.agent.eclipse.EclipseParserPatcher" />
<attribute name="Premain-Class" value="lombok.eclipse.agent.EclipseParserPatcher" />
<attribute name="Can-Redefine-Classes" value="true" />
</manifest>
</jar>
@@ -25,7 +25,7 @@ public class EclipseParserPatcher {
if ( ECLIPSE_PARSER_CLASS_NAME.equals(className) ) {
try {
return runTransform("lombok.agent.eclipse.EclipseParserTransformer", classfileBuffer);
return runTransform("lombok.eclipse.agent.EclipseParserTransformer", classfileBuffer);
} catch ( Throwable t ) {
System.err.println("Wasn't able to patch eclipse's Parser class:");
t.printStackTrace();
@@ -34,7 +34,7 @@ public class EclipseParserPatcher {
if ( ECLIPSE_CUD_CLASS_NAME.equals(className) ) {
try {
return runTransform("lombok.agent.eclipse.EclipseCUDTransformer", classfileBuffer);
return runTransform("lombok.eclipse.agent.EclipseCUDTransformer", classfileBuffer);
} catch ( Throwable t ) {
System.err.println("Wasn't able to patch eclipse's CompilationUnitDeclaration class:");
t.printStackTrace();