JSDT extended with google closure plugin - plugin testing problems [message #1058053] |
Fri, 10 May 2013 16:09  |
Eclipse User |
|
|
|
I'm trying to contribute to (normalesup[dot]org/~simonet/soft/ow/eclipse-closure-javascript.en.html)this google closure plugin but I'm having a hard time with the particulars of setting up a jsdt project through code for my plugin unit test.
Particularly I'm trying to write a junit plugin test which creates a new project in the workspace and puts a file in a root folder for the build, which runs javascript through the closure compiler and marks errors.
I'm working on (github[dot]com/vtst/ow/pull/139)this pull request, but I can't get the test to correctly programmatically make a new project, so that I can put javascript annotated by jsdoc to test the build process in this plugin. I'd like to fix some things, but I need a test to know whether I've done it or not.
Basically I create a new project, with my (github[dot]com/jackphel/ow/commit/c3e3b59c02b6ca50953c72d6646c60fe827cf811) WorkspaceDriver, in my test workspace and I think I need to do something like create a packageroot or configure root source folder, but that would be for jdt not jsdt. I was hoping someone more familiar with jsdt might point me in the right direction to get this test project programmatically created for junit plugin test so I can verify the plugin's functionality and extend it.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03581 seconds