Skip to Content
0
Mar 03, 2009 at 12:39 PM

How to add a custom java class to a public part?

22 Views

Hi folks,

I have created a custom java class inside the src/packages folder. Now i want to add this file to a public part so i can use it in another dc.

Clicking on the .java file gives me the possibility to add this file to a public part. Great, but it just adds the source file (.java) not the compiled version (.class) resulting in that the using dc can't resolve my custom class.

Taking a look into the jar file of the public part shows me that there isn't my custom class at all.

Publishing the compiled version (.class) is not possible.

So, how can i add a custom java class to a public part?