James,
Thanks! it looks like you were right; for some reason, the WOLips I
have installed is generating the old build.xml format.
Your newer version looks to be working so far.
Thanks
Cal
On Jan 12, 2010, at 11:30 AM, Thixton Cal wrote:
>
> David,
> Thanks for the reply.
>
> By legacy, it is an app written about 4-5 years ago under Xcode; I have
> since moved it to Eclipse and the woa version builds and runs fine.
>
> I am relatively current on WOLips (3.4.5762) on Eclipse 3.4.2.
>
> I have both of the options you mentioned set (see below).
>
> Should I expect to see a .war getting built in the 'build' directory
> next to the .woa version?
>
> I have Tomcat installed.
>
> To deploy, I believe am suppose to setup and External Tools
> Configuration for this app.
>
> When I run Deploy, I get the following... now I am stumped:
>
>
> Buildfile: /Users/cthixton/Documents/workspace/LMCases/build.xml
> setProps:
> [echo] Your catalina.home is: /Library/Tomcat/Home
> Trying to override old definition of datatype resources
> init.build:
> compile:
>
> BUILD FAILED
> /Users/cthixton/Documents/workspace/LMCases/build.xml:281: There is no root
> named '/Users/cthixton/Library/Frameworks' in [[Root: name = Project Local
> Frameworks; folder = null], [Root: name = External Build Root; folder =
> null], [Root: name = User Frameworks; folder =
> /Users/cthixton/Library/Frameworks], [Root: name = Local Frameworks; folder =
> /Library/Frameworks], [Root: name = System Frameworks; folder =
> /System/Library/Frameworks], [Root: name = Network Frameworks; folder =
> /Network/Library/Frameworks]].
>
> Total time: 464 milliseconds
>
>
> Thoughts?
>
> Thanks
> Cal
>
>
>
>
>
>
>
> On Jan 11, 2010, at 3:52 PM, David Avendasora wrote:
>
>> Hi Cal,
>>
>> What do you mean by legacy woa app? Old WO version? Xcode-/Project
>> Builder-based?
>>
>> If you are using the latest version of WOLips, all you have to do is check a
>> box in the project deployment properties that tell it to build for servlet
>> deployment. Right-click on your project -> Properties -> WOLips Deployment
>> -> check Servlet Deployment and Autogenerate web.xml
>>
>
>>
>>
>>
>> Dave
>>
>> On Jan 11, 2010, at 4:41 PM, Thixton Cal wrote:
>>
>>>
>>>
>>> I have a legacy woa app that needed a new database backend and needs to be
>>> converted to a non-OSX platform (i.e. Tomcat).
>>>
>>> Looking through postings about converting a woa to war, I am getting stuck.
>>>
>>> Under External Tools, I add WAR to the build targets and when I run it, I
>>> get a complaint about "no root named", (see below).
>>>
>>> Some postings say I have a legacy build.xml file because there is a
>>> "stdFrameworks" attribute in it, but I have created a new project and I get
>>> the same build.xml.
>>>
>>> So, does anyone have a simple 1-2-3 step process of converting a WOA to
>>> WAR?
>>>
>>> Thanks
>>>
>>> Cal
>>>
>>>
>>>
>>>
>>>
>>>
>>> Buildfile: /Users/cthixton/Documents/workspace/MyApp/build.xml
>>>
>>> setProps:
>>> [echo] Your install.dir is: /Library/WebObjects/Applications
>>> [echo] Your catalina.home is: /Library/Tomcat/Home
>>> [echo] Your catalina-ant-jar is:
>>> /Library/Tomcat/Home/lib/catalina-ant.jar
>>> [echo] Your dest.dir is: ${dest.dir}
>>> Trying to override old definition of datatype resources
>>>
>>> init.build:
>>> [echo] Your dest.dir is: /Library/WebObjects/Applications
>>>
>>> compile:
>>> [echo] compile: ok1
>>>
>>> build.woapp:
>>> [echo] woapplication: 1:MyApp 2:/Library/WebObjects/Applications 2a:
>>> 3:Application 4:web.xml 5:WOtaglib_1_0.tld
>>> 6:/Library/WebObjects/Applications
>>>
>>> BUILD FAILED
>>> /Users/cthixton/Documents/workspace/MyApp/build.xml:86: There is no root
>>> named '' in [[Root: name = Project Local Frameworks; folder = null], [Root:
>>> name = External Build Root; folder = null], [Root: name = User Frameworks;
>>> folder = /Users/cthixton/Library/Frameworks], [Root: name = Local
>>> Frameworks; folder = /Library/Frameworks], [Root: name = System Frameworks;
>>> folder = /System/Library/Frameworks], [Root: name = Network Frameworks;
>>> folder = /Network/Library/Frameworks]].
>>>
>>> Total time: 2 seconds
>>>
>>>
>>>
>>>
>>> Cal Thixton
>>> President
>>> SpeedSite Online - Power Web Connect - ThoughtPort Authority of Chicago,
>>> Inc.
>>> 858 West Armitage #311 Chicago IL 60614
>>> 773-394-9300v 800-880-1580v 773-409-5612f
>>> http://www.speedsite.com http://www.powerweb.net
>>>
>>> Ask us about your WebObjects, Joomla or iPhone projects
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-deploy mailing list ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-deploy/webobjects%40avendasora.com
>>>
>>> This email sent to [email protected]
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-deploy/tj%40tpa.net
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]