Quantcast
Channel: perl.jpl
Viewing all articles
Browse latest Browse all 80

Packaging Problems by Stephen Burns

$
0
0
Hello everyone,

Has anyone had any success implementing a JPL solution within a package structure?

I have JPL installed and can use it successfully. However when I introduce a package structure, i.e. move my classes from the default package to one which can be referenced by other packaged Java classes, the JPL class fails to compile as it uses the PerlInterpreter class which remains in the default package.

Unfortunately Java has no method of importing classes from the default package and therefore the solution will require one of the following:
* Package the PerlInterpreter class to allow it to be imported;
* Create the full application in the default package to make the PerlInterpreter class visible.

The second option is neither elegant nor viable due to the size of the application.

If anyone has any ideas, or has managed to introduce a package structure to their JPL code I would greatly appreciate the help.

Regards

Stephen

Stephen Burns
Senior Systems Designer
Real Time Engineering Ltd.


The information contained in this e-mail may contain confidential or privileged material and is intended only for the person or entity to which it is addressed. If you are not the intended recipient, the use, disclosure, copying or distribution of this information is prohibited and may be unlawful. If you have received it in error, please notify us immediately by telephone (+44 (0)141 427 4142). Please also destroy and delete the message from your computer. The opinions contained within this e-mail are not necessarily the opinions of Real Time Engineering Limited.

Viewing all articles
Browse latest Browse all 80

Trending Articles