on 07-19-2006 8:20 AM
hello together,
i developed a adapter module and i want to have a xsd library in this: how can i do this?
i find nothing in the developer studio to append files which are not java files.
using "How to create Adapter module for J2EE ..." but there are no information about this!
can anybody help me?
thanks a lot
alex schramm
>> want to have a xsd library in this
Do you mean you need to have a xsd file inside your archive to be deployed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here's a work around for your XSD to go into your archive.
1.In your adapter module EJB project, create a new folder say with name as referece.
2. Inside this folder create the folder path as you need it inside your archive.e.g. XSD
3. copy the XSD inside this folder.
4. from the context menu of your project folder select Properties--> Java build path --> Source
5. Click on add folder and select the folder reference.
Done...
Build your archive and you will see that the XSD folder and the xsd files inside will be a part of your ejb jar file and you can refer them at the runtime.
Hope this helps..
Hi Alex,
You can add non java files in NWDS(in your case xsd file).
Steps:
1. Right click your package
2. Select Import -> From File system
3. Select the XSD file to import.
now xsd is imported into NWDS and ready to use.
regards,
Ananth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.