Hi,
i tried to use freebXML BP editor today, but the distribution doesn't even
build.
I had a closer look at the code and found out the following:
The class tr.edu.metu.srdc.ebbp.EBBPFrame references class
tr.edu.metu.srdc.ebbp.domainConfig.EBBPDomainsConfigType
which doesn't even seem to be included in the sources.
Apparently, this is not really a problem because this class is only used by
the following code (included in EBBPFrame):
// ****************************** START OF CODE *******
/**
*
* @throws Exception e
*/
private static void initializeEBBPDomainsConfig() throws Exception {
JAXBContext jc =
JAXBContext.newInstance("tr.edu.metu.srdc.ebbp.domainConfig");
Unmarshaller u = jc.createUnmarshaller();
JAXBElement element = (JAXBElement)
u.unmarshal(new FileInputStream("conf/ebbp-domains-config.xml"));
ebBPDomainsConfig = (EBBPDomainsConfigType) element.getValue();
}
/**
*
* @return EBBDomainsConfigType
*/
public static EBBPDomainsConfigType getEbBPDomainsConfig() {
if (ebBPDomainsConfig == null) {
try {
initializeEBBPDomainsConfig();
} catch (Exception e) {
e.printStackTrace();
}
}
return ebBPDomainsConfig;
}
// ****************************** END OF CODE *******
So all you have to do to make your distribution build is uncommenting this
code and of course uncommenting the import statement at the beginning.
It seems to me the developers didn't even try to build the application.
Sometimes such things happen. But as far as I see, you uploaded the
distribution on 2007-01-31 and it shouldn't take more than 8 months to make
a distribution build, specially if the project is (co-)funded by the
European Commission.
Let me note that the distribution only builds with Java 1.5 because in
class tr.edu.metu.srdc.ebbp.xsdeditor.XmlStylist
the developers are referencing the SUN JDK 1.5 implementation class
com.sun.org.apache.xerces.internal.impl.xs.dom.DOMParser
Let me note, that you NEVER EVER should reference these classes because
they are NOT part of the official Java API. So it really is no wonder that
freebXML BP editor doesn't build with Java 1.6.
Kind regards
Andreas
Nobody/Anonymous ( nobody ) - 2007-11-14 17:10
5
Open
None
Nobody/Anonymous
None
None
Public
|
Date: 2009-05-28 09:09 I had the same problem |
|
Date: 2009-05-05 01:54 What if we create the EBBPDomainsConfigType class in the package. |
|
Date: 2009-05-05 01:34 What if we create the EBBPDomainsConfigType class in the package. |
|
Date: 2008-12-28 11:00 xTfmbA <a href="http://mkkxunplrsth.com/">mkkxunplrsth</a>, |
|
Date: 2007-11-16 22:09 Logged In: NO |