Hello everyone,
        First I got a  "engine.jar" file  through export "JAR file" by eclipse. 
It contains the class " test.StandaloneTest", which has a usefull method called 
main().  I am sure that  the "engine.jar" file  is  corret.  I just want to use 
its "main()"
method .
       Then I created  a UI component called "EngineService" to provide certain 
services .Its  implement-service  class called "Engine",as follows:
      import test.StandaloneTest;
      public class Engine {
                private StandaloneTest st=null;
               public void engine()
             {
                 st=new StandaloneTest();
                 st.main(null);
            }
  }
( I have already added the "engine.jar" through the "Java Build Path" to the 
"EngineService" . )
 
But when I exported the "EngineService" as a "Deployable plug-ins and 
fragments" the errors occurred :

" ERROR in E:\workspace\EngineService\src\engineservice\Engine.java (at line 2)
 import test.StandaloneTest;
        ^^^^
The import test cannot be resolved"
 
How to  resolve this problem?
Thanks a lot !
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to