Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-mtj-dev] PackageBuilder ignoring generated classes

Hi MJTers,

I maintain an eclipse plug-in that generates rms code for jme persistence. Before MJT 1.0 was released everything was fine, unfortunately it seems 1.0 added functionality that causes our plugin some problems.

Specifically, the PackageBuilder ignores any resources that do not originate from a folder listed in the build.properties folder. Floggy generates classes, which means that some of the essential generated classes are being excluded (we generate some classes in the net.sourceforge.floggy package as well as the application package namespace).

I have tried changing the build.properties, but it seems that the listeners don't allow me to add 'bin' to the included directories.

Having had a quick look through the code, it seems like we will have to generate the classes to a jar, add the jar to the classpath and export it.

I also looked at the Library support.. but I don't think we can use this since the classes are created for each project at build time (and may be regenerated if necessary).

Does anyone have any alternative/better suggestions ?

Thanks in advance,
Dan
-- 
Floggy - Java ME persistence made easy
http://www.floggy.org

Back to the top