OK..so done Galileo with WOlips 3.5 - which was not a good idea as it just gave lots of errors.

Reinstalled Gannymede and WoLips 3.4 (that works - nightly build update was for Galileo so broke my Eclipse 3.4 system)

So I have a default installation of Eclipse 3.4 and wolips 3.4

Used the 533 and 534 sets of Frameworks and FileSystem/Properties etc.. to do 2 version development.

I create a Wonder Application and can build and run with browser opening with Hello World but now -

I go to do a Ant Instal to build a deployment application and it stops and gives this error?

Failed to process eclipse frameworks: org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ String;

Why?

Any ideas please help...

Gino


On 16 May 2010, at 21:41, David Avendasora wrote:


On May 16, 2010, at 4:34 PM, Gino Pacitti wrote:

Hi David
I created a new WO Application using the new menu item. (An aside here and maybe not connected is that the only way to create a new WOApplication was to use the wizard - and then it did not give me any input boxes to add the package names as the tutorials seem to indicate. It just allowed the project name and then a default project was created. I then had to refactor the package names for the components etc..)

Ah. You clicked "Finish" instead of "Next" when you created it. The screens to change those options are "optional" as far as Eclipse is concerned and it allows you to skip them.

While I can't think of how this would cause the issue you are currently having, I'd suggest starting over at this point, and do yourself a favor and start with a project based on Wonder. It does so much for you.

Dave


But then Building and running seem to work ok as it auto launches in the Browser with HelloWorld.

My problem is the console error message and subsequent exit giving the reason as this :
BUILD FAILED
/Users/<user>/Desktop/WOProjects/Applications_Eclipse/workspace/ HelloWorld/build.xml:206: Failed to process eclipse frameworks:org .apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/ String;

Has the installation not worked??

What I am trying to achieve is a dist directory with the bundle ready for deployment...

Gino


On 16 May 2010, at 18:28, David Avendasora wrote:

Hey Gino,

Please keep replies on the list. It makes it easier for others to contribute to and/or learn from problems others have.

Before you go bundling up the project, how did you create it in the first place?

If the project template you used doesn't work by default, then we should certainly get that fixed.

Dave

On May 16, 2010, at 1:09 PM, Gino Pacitti wrote:

Hi dave
Sorry if vague ...

The error occurred first and so I spent sometime debugging - as the error mentioned the xerces classes I found a jar and placed it in the class path - but even with it there the error persists and I cannot build a bundle for depoloyment ! Dies that clear it up :-)

All I an trying to at this point I'd create a bundle so that u can test out on deployment server so that I know I gave eclipse and wolips set up correctly - I'm trying to move from Xcode and wobuilder ...

I love my Apple iPhone

On 16 May 2010, at 17:41, David Avendasora <webobje...@avendasora.com > wrote:

Hi Gino,

I'm not sure I understand. WOlips said it wasn't available so you added it to the classpath?

If you don't need it, don't put it in the classpath.

Am I not understanding something?

Dave

On May 16, 2010, at 12:30 PM, Gino Pacitti wrote:

Hi there
U did not specifically want xerces to be used - the wolips and eclipse failed build made me aware that it was not available and so I just tried to include it in the path :)

This is really a helloworld app with a single main component ... Nothing eloborate so I don't know why xerces was given as error ...

Any more thoughts ??

On 16 May 2010, at 17:18, David Avendasora <webobje...@avendasora.com > wrote:

Hi Gino,

On May 16, 2010, at 10:24 AM, Gino Pacitti wrote:

Hi ...

Im trying to do a new instal of WOLips/Eclipse and have set it up
using all the advices 
onhttp://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects

I have checked and double checked the properties file and have
everything in place - or so I hope.

Building and running are fine but when it comes time to do an install
using ANT it just stops with the below error?

Its seems to offer the idea that this (org.apache.xerces) is not to be
found yet it is in the class path under -
wo.extensions=/Developer/WebObjects/Versions/WebObjects533/ Library/
WebObjects/Extensions

Does this project expect xerces to be installed in WebObjects/ Extensions? If so, then you're going to have to put it there. If this project previously worked before you setup to use multiple versions? If so, then go look in /Library/WebObjects/ Extensions and get the xerces jar from there.

With that said, as a general rule I don't put stuff in WebObjects/Extensions. If I need an additional library for my project, then I put it in the project's Libraries directory and add it to the build path. That way the app will always have its libraries.

Dave


Any help appreciated... or a link to a page that shows deployment
build options and choices etc...

Buildfile: /Users/<user>/Desktop/WOProjects/ Applications_Eclipse/
workspace/HelloWorld/build.xml
init.properties:
init.install:
compile:

BUILD FAILED
/Users/<user>/Desktop/WOProjects/Applications_Eclipse/ workspace/
HelloWorld/build.xml:206: Failed to process eclipse frameworks:
org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/ lang/
String;

Gino

------------------------------------------------------------------------------

_______________________________________________
Wonder-disc mailing list
wonder-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc














_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to