Menu

#12 working with eclipse 3.4.2

v. 0.6
open
nobody
plugin (3)
5
2009-05-06
2009-05-06
No

Eclipse Version :
Eclipse Platform

Version: 3.4.2
Build id: M20090211-1700

Spring Unit Plugin : 0.3.0

Unable to generate SpringUnit code with my version of eclipse.

Error :
Creation of element failed.
org.eclipse.jdt.internal.cortex.util.CodeFormatterUtil.format(....... )

Cause: I had to recompile the code and make the following changes.

1 SuperInterfaceSelect.java , NewTypeWizardPage.java , SpringUnitWizardPageOne.java

JavaModelUtil.getFullyQualifedName(type) has been removed.

Use type.getFullyQualifiedName('.');

2 NewTypeWizardPage.java

String formattedContent = CodeFormatterUtil.format(CodeFormatter.K_CLASS_BODY_DECLARATIONS,

originalContent, indent, lineDelimiter, pack.getJavaProject());

The plugin is now working.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.