Monday, April 30, 2007

JDeveloper and Libraries - an Import Lesson

Although I've run through several of the Oracle JDeveloper 10.1.3 tutorials, none of them dealt with adding libraries to a project. Today, I copy and pasted some sample code that imports from the javax.servlet.http package. JDev complained it couldn't find it. So I guessed I needed to add a library to the project. I fumbled my way around for a while and finally added the J2EE library. This seemed to work - JDev is no longer complaining and the code compiles. I'm sure there's a way to configure JDev to add libraries by default, but I haven't figured it out.

Labels:

2 Comments:

At 3:01 PM , Anonymous Anonymous said...

You can go to project properties and in the technology scope shuttle to the right the technologies your project uses - this automatically adds the needed libraries.

 
At 10:08 AM , Blogger jac1962 said...

Thanks - figured that out. The ADF Developers Guide for Forms/4GL Developers seems to have more comprehensive directions for deploying from JDev 10.1.3 to OAS 10.1.2, including instructions for generating J2EE 1.3-compliant configuration files (table 34-3 lists these files and instructions for generating them).

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home