Title: Message
There is no way to do that in Java other than pick the one you want to refer to more often and import it and refer to the other one by its full name every time (or maybe import the one with the longer name)
 
Radu
 
-----Original Message-----
From: Butterwood, Richard [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 9:36 AM
To: [email protected]
Subject: Import with the same ending namespace

Hi,

 

This is probably a Java question more than anything else.  I have created two .jar files from two .xsd files.  These are ItemBalance and CustomerItemNumber.  Both these have a Warehouses element.  I use one program via two methods to load these XML files.  At the top of the program I import both of them.

 

Import com.infor.ItemBalance.Warehouses;

Import com.infor.CustomerItemNumber.Warehouses;

 

Now the program is complaining that the second import collides with another import statement.  Is there anyway around this?  I don’t want to prefix all the references throughout with the individual namespace.

 

Richard Butterwood | Senior Analyst/Programmer | Infor | office: 770-418-2000 X 1167 | cell: 678-492-3080 | fax: 770-418-2022 | [EMAIL PROTECTED]

 

SAVE THE DATE:
Inforum
Infor Customer Conference
April 9 – 12, 2006
Mandalay Bay Resort & Casino
Las Vegas

 

Reply via email to