Community
Participate
Working Groups
current there is no way to easy way to select a runtime library to be included as part of an MTJ project. the create project wizard can be modified in order to add an option to do that. when a library is selected it would be automatically included on the project build process in a way that when the JAR is created all library classes would be included on it. this features is not initially planned to the first MTJ release.
Hi, is there a patch available to enable this feature ? ... Regards Dan
currently there is not. but according to craig, if you select one JAR file in the project and mark it as "Exported" it will already be included in the MIDlet suite build (but i never tested it :)) we want to implement a more "user friendly" way of doing that. (In reply to comment #1) > Hi, is there a patch available to enable this feature ? ... Regards Dan >
I'm trying to use floggy (opensource rms<->pojo). The jar is in the build path and marked as exported. However it doesn't seem to be included any any jars (as far as I can see anyway). Should the classes be built into a jar file in the midletProject/deployed/ directory? (after selecting 'create package') Thanks in advance, Dan
Hi, For me (OS X, Eclipse 3.4 & MJT) it seems that adding the lib to the classpath does nothing to include it's contents in the deployment JAR. Is this jira going to track this functionality in addition to the "Add jar to project" button on the create project wizard ? I have a patch (although not tried it on very latest trunk) which copies the class files from the preverified JARs to the deployment jar. Would you chaps like it ? Best regards, Dan
this is suppose to be working. at least mtj build already check for the export JARs to add them to the final deployable package. on 0.9.1 we plan to improve this functionality and allow that the user can easily choose that on the project creation wizard. if you have a patch, code is always welcome :). please attach to the bug the we will evaluate if we can use it on this new feature. :) gustavo (In reply to comment #4) > Hi, > For me (OS X, Eclipse 3.4 & MJT) it seems that adding the lib to the classpath > does nothing to include it's contents in the deployment JAR. Is this jira going > to track this functionality in addition to the "Add jar to project" button on > the create project wizard ? > > I have a patch (although not tried it on very latest trunk) which copies the > class files from the preverified JARs to the deployment jar. Would you chaps > like it ? > Best regards, > Dan >
*** This bug has been marked as a duplicate of bug 249824 ***
bug released into 0.9.1