Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks
Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks
- Subject: Re: [Wonder-disc] Ant Instal & Failed to process eclipse frameworks
- From: David LeBer <email@hidden>
- Date: Wed, 19 May 2010 09:41:35 -0400
On 2010-05-17, at 8:45 AM, Gino Pacitti wrote:
> Dave
> I dunno what I am doing wrong but I am having a lot of issues with a
> standard Eclipse/WOLips install
>
> I upgraded to Galileo and WOLips 3.5.
>
> Templates don't work and I cant seem to add WO Frameworks to the Build
> Path as they are just not there...
>
> Is it supposed to be this difficult? :)
No. You are missing something or something is wrong.
Can you re-cap your setup?
Are your WO frameworks still in the location as specified by:
<http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects>
If so, do you have the WOLips Properties File location configured correctly in Eclipse -> Preferences -> WOLips -> Build?
After making a change to that setting you will need to relaunch Eclipse.
>
> Any suggestions...
>
> Gino
>
>
>
> On 17 May 2010, at 12:08, David Avendasora wrote:
>
>> Gino,
>>
>> WOLips 3.4 is old, and has bugs that will not be fixed, so I highly
>> recommend moving to Eclipse/WOLips 3.5. And 3.6 seems to be pretty
>> stable too. Since you are just getting started with Eclipse you
>> really should use a more current version.
>>
>> Dave
>>
>> On May 17, 2010, at 6:38 AM, Gino Pacitti wrote:
>>
>>> 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 <email@hidden
>>>>>>>> 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 <email@hidden
>>>>>>>>>> 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
>>>>>>>>>>> email@hidden
>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Wonder-disc mailing list
>>> email@hidden
>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Wonder-disc mailing list
>> email@hidden
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Wonder-disc mailing list
> email@hidden
> https://lists.sourceforge.net/lists/listinfo/wonder-disc
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden