Bug 906 : tools without package don't load
Last modified: 2008-09-01 04:42




Status:
RESOLVED
Resolution:
WONTFIX -
Priority:
P2
Severity:
normal

 

Reporter:
fjen
Assigned To:
fry

Attachment Type Created Size Actions
normal sketch with tool .java application/zip 2008-09-01 00:50 157.62 KB
same sketch repackaged to test/DemoTool application/zip 2008-09-01 00:50 6.64 KB
resulting tool containing both .jars unpackaged and packaged application/zip 2008-09-01 00:51 5.36 KB

Description:   Opened: 2008-09-01 00:49
i've created a demo sketch that has an addiotional .java tab which will run that sketch as a tool
after being exported and moved. the tool won't load at the moment since in Editor.findClassInZipFile() you are checking against "endsWith( "/" + base + ".class" )" which
will fail for not packaged tools.

will attach examples ..

F
Additional Comment #1 From fjen 2008-09-01 00:50
edit]
normal sketch with tool .java
Additional Comment #2 From fjen 2008-09-01 00:50
edit]
same sketch repackaged to test/DemoTool
Additional Comment #3 From fjen 2008-09-01 00:51
edit]
resulting tool containing both .jars unpackaged and packaged
Additional Comment #4 From fry 2008-09-01 04:42
from tools/howto.txt:

Package names are encouraged/recommended/required.

i'll just change that to "required".