I created a portal application project in NWDS. I added few classes under src.core. I created another portal application project with JSPDynPage in NWDS. I want to use the first portal application project class into second portal application project. I am not yet created any par file. Could you please help me how to make reference and get the access to first classes.
The first thing is you cannot access the classes under src.core in any other application.The classes can be accessed only by the application in which they are defined.To make a class available to other applications you have to define them under src.api.
To access these classes do the following.
1.Add the jar files (your src.api classes) in the "java build path" of your second application.(This for compile time)
2.add the "sharing reference" property in the application-config tag.
the value of the property should be the application name.
(this for runtime).
Hope this helps.