Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: GPL Version Fail
Reply to topic
Author Message
Anonymous



Joined: Jan 13, 2005
Posts: 29

PostPosted: May 30, 2005 3:04 PM    Post subject: GPL Version Fail

Hello,
I`m trying to build the gpl version and keep getting errors.
Eclipse 3.7M with JDL1.5.0_01

[Fatal Error] userinfo.xml:2:1: Content is not allowed in prolog.
Critical error: org.xml.sax.SAXParseException: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
at bioera.config.XmlConfig.parse(XmlConfig.java:317)
at bioera.config.XmlConfig.<init>(XmlConfig.java:58)
at bioera.config.XmlConfigSection.<init>(XmlConfigSection.java:39)
at bioera.config.UserInfo.loadUserInfo(UserInfo.java:58)
at bioera.Main.mainStart(Main.java:503)
at bioera.Main.main(Main.java:396)
Total memory: 2031616
Free memory : 1444800


http://forum.java.sun.com/thread.jspa?threadID=567285&tstart=75
has some info on the \"Content is not allowed in prolog.\" error but none of the solutions worked.

Also there are no instructions with the source or other files.
Do I just copy all the other directories from the binary version?

Also file bioera.nativeobjects.NativeLib.java has
load(\"bioera_native\"); but I see no bioera_native .dll anywhere.

Does the gpl version work or is it at all possible to build it?

ty,
jp
Anonymous



Joined: Jan 13, 2005
Posts: 29

PostPosted: May 31, 2005 9:42 AM    Post subject:

Joe,

this error is related to xml parser, so I am not sure what can be the reason. This may be related to version 1.5 (in other topic) that is not supported at this moment. I look into this when I am back from vacation.

load(\"bioera_native\") means loading any library, not just dll. But in GPL version it is really not needed (everything should work there without native support). It is used more heavily in Lite, Pro and PDA versions.

Yes, if you copy all folders from the binary version then this should work.

Jarek
Reply to topic