Bug 217997 - JET transformations without a workspace fail
Summary: JET transformations without a workspace fail
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Jet (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 08:53 EST by Mark Howard CLA
Modified: 2020-05-01 16:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Howard CLA 2008-02-06 08:53:06 EST
Build ID: 3.3.1

Steps To Reproduce:
Run the trivial test class attached to Bug #217853

More information:
It used to be possible to run jet transformations without a workspace (according to the ant script given in the tutorial http://www.eclipse.org/articles/Article-JET2/jet_tutorial2.html)
This currently fails due to a null pointer exception in jdt.internal.core.util.Util.getLineSeparator. This was reported against jdt in Bug #217853, with a trivial patch to fix the problem, but it was rejected with a message saying that the jet code should use org.eclipse.jdt.core.dom instead of org.eclipse.jdt.core.jdom.
So instead of accepting a trivial patch to check for a null pointer, the jet code needs modifications to use a new implementation.