Re: [UPDATE]: Ant Build Error
Re: [UPDATE]: Ant Build Error
- Subject: Re: [UPDATE]: Ant Build Error
- From: Chuck Hill <email@hidden>
- Date: Wed, 12 Aug 2009 11:21:38 -0700
On Aug 12, 2009, at 11:18 AM, Miguel Angel Torres Avila wrote:
By the way.
I thing the Framework is well constructed, at least for development,
because I had no problems developing my app,
That means nothing.
the problems started once I tried to deploy it.
Maybe something is missing that Ant needs for consider it as a
Framework but not WOLips.
Look. In. Info.plist.
Chuck
On Aug 12, 2009, at 12:54 PM, Miguel Angel Torres Avila wrote:
Ok, thanks Chuck.
That was my first thought.
I have done the next test:
I installed a new eclipse (eclipse-reporting-ganymede-macosx-
carbon.tar.gz)
Installed the newest stable version of WOLips. 3.4.5916
I created a new Wonder Framework, I builded, copied the .framework
folder created in the dist folder to my local frameworks folder.
I created a new Wonder project. I added the new framework to my new
project.
Tried to build my new project and got the same error.
Buildfile: /Users/dev3/Documents/workspaceTest/TestAppWonder/
build.xml
init.properties:
init.build:
compile:
BUILD FAILED
/Users/dev3/Documents/workspaceTest/TestAppWonder/build.xml:206:
The framework name 'TestFwkWonder' does not exist.
Total time: 729 milliseconds
I removed the new framework and leave just those related by default:
<Picture 6.png>
It ran Ant build with no problemas:
Buildfile: /Users/dev3/Documents/workspaceTest/TestAppWonder/
build.xml
init.properties:
init.build:
compile:
build.woapp:
[woapplication] Installing TestAppWonder in dist
[copy bootstrap] Copying 1 file to /Users/dev3/Documents/
workspaceTest/TestAppWonder/dist/TestAppWonder.woa
javaclient:
ssdd:
war:
split:
[mkdir] Created dir: /Users/dev3/Documents/workspaceTest/
TestAppWonder/dist/Split
[copy] Copied 1 empty directory to 1 empty directory under /
Users/dev3/Documents/workspaceTest/TestAppWonder/dist/Split/
WebObjects/TestAppWonder.woa
package:
[tar] Building tar: /Users/dev3/Documents/workspaceTest/
TestAppWonder/dist/TestAppWonder-Application.tar.gz
[tar] Building tar: /Users/dev3/Documents/workspaceTest/
TestAppWonder/dist/TestAppWonder-WebServerResources.tar.gz
build:
BUILD SUCCESSFUL
Total time: 4 seconds
I am working with WebObjects 5.3 and the content of my
wolips.properties is:
#Mon May 11 16:10:55 CDT 2009
wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System
wo.user.frameworks=/Users/dev3/Library/Frameworks
wo.system.frameworks=/Developer/WebObjects/Versions/WebObjects533/
System/Library/Frameworks
wo.bootstrapjar=/Developer/WebObjects/Versions/WebObjects533/System/
Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
wo.network.frameworks=/Network/Library/Frameworks
wo.api.root=/Developer/Documentation/DocSets/
com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/
Resources/Documents/documentation/InternetWeb/Reference/
WO542Reference
wo.network.root=/Network
wo.extensions=/Developer/WebObjects/Versions/WebObjects533/Library/
WebObjects/Extensions
wo.user.root=/Users/dev3
wo.local.frameworks=/Developer/WebObjects/Versions/WebObjects533/
Library/Frameworks
wo.apps.root=/Developer/WebObjects/Versions/WebObjects533/Library/
WebObjects/Applications
wo.local.root=/Developer/WebObjects/Versions/WebObjects533
I am really confused, I thought maybe the version of the WOLips I
was working was broken or something, but now using the newest one
is still happening the same prpblem.
Am I the only one experiencing this behavior? if so, my problem
should be in my wolips.properties.
Cheers.
On Aug 12, 2009, at 12:04 PM, Chuck Hill wrote:
Hi Miguel,
On Aug 12, 2009, at 9:44 AM, Miguel Angel Torres Avila wrote:
Hi, David
Thanks for your patience.
You were right, the problem is in the Project.
I found the following difference between an old project and the
new one.
In the woproject folder of the old project I found this:
<Picture 4.png>
In the new one I found this:
<Picture 5.png>
There are no ant.xxxxx files at all.
That is normal, and good.
Never before I had to worry about this files, it was something
that just worked.
I opened the ant.frameworks.wo.wolocalroot file of my old project
and this is the content:
Library/Frameworks/PostgresqlPlugIn.framework
Library/Frameworks/TORATools_2_0.framework
Library/Frameworks/TORAUtils_1_2.framework
Library/Java/Extensions/OpenBaseJDBC.jar
Library/Java/Extensions/postgresql-8.0-310.jdbc3.jar
didiluminacion/Libraries/jxl.jar
didiluminacion/Libraries/postgresql-8.0-310.jdbc3.jar
didiluminacion/Libraries/barcode4j-fop-ext-complete.jar
There are declared the Frameworks.
Question 1. Is it normal in newest version of WOLips not to
create this files, or is it normal not to create them in Wonder
Projects?
Yes, it is normal. Those files are obsolete and not used by
WOLips or the Ant build (assuming you have updated the build.xml
in the project).
Question 2. Why, even without this ant.xxxx files, oldest
frameworks developed by us located in the same Folder than the
newest are being found in the Ant build process?
Those files are not needed. The classpath handling is all
different now. I would compare the contents of the old and new
frameworks. Are the files in the same places. Do the contents of
the Info.plist files in the old and new frameworks have the same
keys? My guess is that the new frameworks are not getting built
correctly or completely and so WOLips does not recognize them as a
framework. Therefore, it ignores them
Chuck
I will try creating by my own those files an trying building the
project, but it is really important to understand what is
happening, what did I do wrong.
Thanks again.
On Aug 12, 2009, at 10:40 AM, David Avendasora wrote:
One last question,
Are the old frameworks in /Library/Frameworks as well as your
custom location?
Dave
On Aug 12, 2009, at 11:12 AM, Miguel Angel Torres Avila wrote:
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________
Ing. Miguel Angel Torres Avila
Director General
Tel: +52 (33) 3367 1892
Cel: +52 (33) 3106 8758
E-mail: email@hidden
www.toracom.net
_______________________________________________
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
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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