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: Patrick Robinson <email@hidden>
- Date: Mon, 17 May 2010 10:49:09 -0400
Oh, OK.
Well, the original ant error message was "Failed to process eclipse frameworks", which sounds like it can't find a framework. Try running ant with "-verbose", and see if it tells you what framework it can't find.
- Patrick
On May 17, 2010, at 10:17 AM, Gino Pacitti wrote:
> Hi ...
> Just for simplicity I used the 533 without the full path...
>
> It is as I originally said
> /Developer/WebObjects/Versions/WebObjects533/
>
> Sorry for any confusion...
>
> Properties file here:
>
> wo.network.root=/Network
> wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System
> wo.local.root=/Developer/WebObjects/Versions/WebObjects533
> wo.user.root=/Users/<user>
>
> wo.network.frameworks=/Network/Library/Frameworks
> wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects533/System/Library/Frameworks
> wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects533/Library/Frameworks
> wo.user.frameworks=/Users/<user>/Library/Frameworks
>
> wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects533/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
> wo.extensions=/Developer/WebObjects/Versions/WebObjects533/Library/WebObjects/Extensions
> wo.apps.root=/Developer/WebObjects/Versions/WebObjects533/Library/WebObjects/Applications
>
> wo.api.root=/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/Resources/Documents/documentation/InternetWeb/Reference/WO533Reference
>
>
>
>
>
> Gino
> On 17 May 2010, at 15:14, Patrick Robinson wrote:
>
>> I don't think I understand, either. Is your WO 5.3.3 installed under something like /Developer/WebObjects/Versions/WebObjects533/ (which your original email hinted at)? Or is it installed in the "default" location of / (as your "533 set up" below suggests)?
>>
>> What does your wolips.properties file contain?
>>
>>
>>
>> On May 17, 2010, at 9:13 AM, Gino Pacitti wrote:
>>
>>> Hi Pascal
>>> I set up my file system using this page:
>>>
>>> http://wiki.objectstyle.org/confluence/display/WOL/Using+WOLips+With+Multiple+Versions+of+WebObjects
>>> So depending which properties file I use I have -
>>>
>>> 533 set up
>>> /Library
>>> - WebObjects
>>> --Applications (empty)
>>> --Extensions
>>> axis-ant.jar
>>> axis.jar
>>> commons-discovery.jar
>>> commons-logging.jar
>>> jaxpc.jar
>>> log4j-1.2.8.jar
>>> saaj.jar
>>> wsdl.jar
>>>
>>> --lib
>>> JavaXML.jar
>>> JavaDirectToWeb.jar
>>> JavaDTWGeneration.jar
>>> JavaEOAccess.jar
>>> JavaEOApplication.jar
>>> JavaEOControl.jar
>>> JavaEODistribution.jar
>>> JavaEOGeneration.jar
>>> JavaEOInterface.jar
>>> JavaEOInterfaceCocoa.jar
>>> JavaEOInterfaceSwing.jar
>>> JavaEOProject.jar
>>> JavaEORuleSystem.jar
>>> JavaFoundation.jar
>>> JavaJDBCAdaptor.jar
>>> JavaJNDIAdaptor.jar
>>> JavaWebObjects.jar
>>> JavaWebServicesClient.jar
>>> JavaWebServicesGeneration.jar
>>> JavaWebServicesSupport.jar
>>> JavaWOExtensions.jar
>>> JavaWOJSPServlet.jar
>>>
>>>
>>> /System
>>>
>>> -Library
>>>
>>> -- Frameworks
>>> JavaDirectToWeb.framework
>>> JavaDTWGeneration.framework
>>> JavaEOAccess.framework
>>> JavaEOApplication.framework
>>> JavaEOCocoa.framework
>>> JavaEOControl.framework
>>> JavaEODistribution.framework
>>> JavaEOGeneration.framework
>>> JavaEOInterface.framework
>>> JavaEOInterfaceCocoa.framework
>>> JavaEOInterfaceSwing.framework
>>> JavaEOProject.framework
>>> JavaEORuleSystem.framework
>>> JavaFoundation.framework
>>> JavaJDBCAdaptor.framework
>>> JavaJNDIAdaptor.framework
>>> JavaWebObjects.framework
>>> JavaWebServicesClient.framework
>>> JavaWebServicesGeneration.framework
>>> JavaWebServicesSupport.framework
>>> JavaWOExtensions.framework
>>> JavaWOJSPServlet.framework
>>> JavaXML.framework
>>>
>>> -- PrivateFrameworks
>>> EOPlaceholders.framework
>>> JavaMonitor.framework
>>>
>>> --WebObjects
>>> ---Adaptors
>>> Apache
>>> CGI
>>>
>>> ---JavaApplications
>>> JavaMonitor.woa
>>> wotaskd.woa
>>>
>>>
>>> ---WODocumentRoot
>>> ----WebObjects
>>> Frameworks
>>> Java
>>> Javamonitor
>>>
>>>
>>> On 17 May 2010, at 13:47, Pascal Robert wrote:
>>>
>>>> What do you have in /Library/Java/Extensions and /Library/WeObjects/Extensions?
>>>>
>>>>> 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? :)
>>>>>
>>>>> 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
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>>>>>>
>>
>
_______________________________________________
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