Skip to content

XAware Community

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
XAware 5.6
Need Help
Webinars and Events
Advanced Tutorials
Webinars and Events

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Setting up the development environment (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Setting up the development environment
#2095
jpmanson (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Setting up the development environment 12 Years, 7 Months ago Karma: 6  
Hi,

I was following the tutorial "Setting up the development environment" (Setting up the development environment).

Everything is ok, until this step:

Setting up Designer launch from Eclipse
1. In Eclipse, select Run | External Tools| make_home. This will create C:\XAwareSource\opensource5\server\build\xahome.

I get the following error:

Code:

Buildfile: C:\Proyectos\XAware\org.xaware.server\buildscripts\build.XML [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found. init: replace_version_tags: BUILD FAILED C:\Proyectos\XAware\org.xaware.server\buildscripts\build.xml:240: The following error occurred while executing this line: C:\Proyectos\XAware\org.xaware.server\buildscripts\GetSourceFiles.xml:39: C:\Proyectos\XAware\designer not found.
Maybe do I have to setup something else or execute some of the batch files in Buildscript? (Ex: xant.bat) It's ok the following line in build.xml?
Code:

<taskdef resource="net/sf/antcontrib/antlib.xml" />
Thanks guys, Juan Pablo
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2118
tferguson (User)
XAware expert
Posts: 494
User Offline Click here to see the profile of this user
Re:Setting up the development environment 12 Years, 7 Months ago Karma: 6  
Yep, we have a missing step that has been added since that original wiki entry. You will need to download the ant-contrib jar and install that into your ant lib area.

The basic instructions and downloads can be found at http://ant-contrib.sourceforge.net/

If you want to add this to the ant plugin download ant-contrib to your hard drive. Then in Eclipse go to Window->Preferences->Ant->Runtime
Select the Classpath tab, then select "Ant Home Entries (Default)" in the tree. Select Add External JARS... button and browse to the ant-contrib jar and select it. This will add it to your eclipse ant environment.

-Tim
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2137
jpmanson (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Re:Setting up the development environment 12 Years, 7 Months ago Karma: 6  
Thank you Tim.

Now I have a new error executing the step make_home. The error image capture is attached.
The error stack is:

Code:

java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at org.apache.tools.ant.util.JAXPUtils.newSAXParser(JAXPUtils.java:205) at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:193) at org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:88) at org.apache.tools.ant.taskdefs.Antlib.createAntlib(Antlib.java:75) at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:327)
Seems to be something with Xerces library. I've found people with a similar error: http://issues.appfuse.org/browse/APF-846 Thank for your support, Juan Pablo
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2138
jpmanson (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Re:Setting up the development environment 12 Years, 7 Months ago Karma: 6  
The error image...
File Attachment:
File Name: make_home.zip
File Size: 181980
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2141
tferguson (User)
XAware expert
Posts: 494
User Offline Click here to see the profile of this user
Re:Setting up the development environment 12 Years, 7 Months ago Karma: 6  
Hi Juan,

A quick look at the link you sent leads me to wonder if maybe your Eclipse ant environment is using a different version of Java than 1.5?

-Tim
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#2165
jpmanson (User)
XAware user
Posts: 25
User Offline Click here to see the profile of this user
Re:Setting up the development environment 12 Years, 7 Months ago Karma: 6  
Thanks Tim. Ant was using jdk 1.6. Ive fixed it.

Now when executing "make_home", I have this error:

Code:

Buildfile: C:\Proyectos\XAware\server\buildscripts\build.XML init: replace_version_tags: [delete] Deleting: C:\Proyectos\XAware\server\src\org\xaware\shared\conf\XAsystem.xml [copy] Copying 1 file to C:\Proyectos\XAware\server\src\org\xaware\shared\conf [delete] Deleting: C:\Proyectos\XAware\dist\bin\XAsystem_standard.xml [copy] Copying 1 file to C:\Proyectos\XAware\dist\bin [delete] Deleting: C:\Proyectos\XAware\dist\bin\XAsystem_lite.xml [copy] Copying 1 file to C:\Proyectos\XAware\dist\bin compile: [echo] Compiling server classes for JDK jdk5 [echo] Compiling api classes for JDK jdk5 [echo] Compiling extensions classes for JDK jdk5 [echo] Compiling functoids classes for JDK jdk5 [echo] Compiling ps classes for JDK jdk5 [echo] Compiling schemanavigator classes for JDK jdk5 [javac] Compiling 63 source files to C:\Proyectos\XAware\server\build\classes\jdk5 [javac] C:\Proyectos\XAware\schemanavigator\src\org\xaware\schemanavigator\SchemaNavDialogUtill.java:23: package org.Eclipse.jface.dialogs does not exist [javac] import org.eclipse.jface.dialogs.IDialogConstants; [javac] ^ [javac] C:\Proyectos\XAware\schemanavigator\src\org\xaware\schemanavigator\SchemaNavDialogUtill.java:24: package org.eclipse.jface.dialogs does not exist [javac] import org.eclipse.jface.dialogs.MessageDialog; [javac] ^ [javac] C:\Proyectos\XAware\schemanavigator\src\org\xaware\schemanavigator\SchemaNavigatorLogger.java:23: package org.eclipse.core.runtime does not exist [javac] import org.eclipse.core.runtime.IStatus; [javac] ^ [javac] C:\Proyectos\XAware\schemanavigator\src\org\xaware\schemanavigator\SchemaNavigatorLogger.java:24: package org.eclipse.core.runtime does not exist [javac] import org.eclipse.core.runtime.Status; ....
The error is captured in the attachement. The project "schemanavigator" has the correct references to the plugin dependences (like org.eclipse.jface). I'm attaching an interesting log made with Filemon, in the moment when the compilation is running. Eclipse is searching jars in the project folder. Thanks again. Bye, Juan Pablo
File Attachment:
File Name: make_home_errors.zip
File Size: 520758
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Get the Flash Player to see this player.
Flash Image Rotator Module by Joomlashack.
Commercial
Free Training
QuickStart Packages
Image 4 Title
Image 5 Title

Visit XAware.com