Re: WEBINFROOT changes make no effects
Re: WEBINFROOT changes make no effects
- Subject: Re: WEBINFROOT changes make no effects
- From: Chuck Hill <email@hidden>
- Date: Wed, 4 Nov 2009 08:58:06 -0800
That looks old. Is this from a command line build? If so, you have
an old woproject.jar that Ant is using.
Chuck
On Nov 4, 2009, at 8:27 AM, laurent Cros wrote:
Dave,
I have installed the wolips new version on my eclipse 3.4.2.
When I try to deploy my app I got this error :
org
.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException:
Could not find wobuild.properties. Run the buildfile:
woproperties.xml first.
at
org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown
Source)
at
org
.objectstyle.woproject.ant.WOApplication.validateAttributes(Unknown
Source)
at org.objectstyle.woproject.ant.WOApplication.execute(Unknown
Source)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org
.apache
.tools
.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at
org
.eclipse
.ant
.internal
.ui
.antsupport
.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1181)
at
org
.eclipse
.ant
.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:
423)
at
org
.eclipse
.ant
.internal
.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
Have you any idea where the woproperties.xml is ?
Thanks
laurent cros
De : laurent Cros
Envoyé : mercredi 4 novembre 2009 16:26
À : laurent Cros; David Avendasora
Cc : WebObjects-Dev Mailing List List
Objet : RE: WEBINFROOT changes make no effects
I have followed what you said,
There was an error in the build.xml so I fixed it, and the creating
the war
after the war was generated, I copied the app directory (same as the
war), I put it on my tomcat, the started my tomcat.
Laurent.
De : webobjects-dev-bounces+lcros=email@hidden [mailto:webobjects-dev-bounces+lcros=email@hidden
] De la part de laurent Cros
Envoyé : mercredi 4 novembre 2009 15:24
À : David Avendasora
Cc : WebObjects-Dev Mailing List List
Objet : RE: WEBINFROOT changes make no effects
David,
I am using eclipse 3.3.2 on a windows platform
The wolips version is 3.3.5485
Laurent.
De : David Avendasora [mailto:email@hidden]
Envoyé : mercredi 4 novembre 2009 15:12
À : laurent Cros
Cc : WebObjects-Dev Mailing List List
Objet : Re: WEBINFROOT changes make no effects
On Nov 4, 2009, at 8:36 AM, laurent Cros wrote:
David can you send me your web.xml file (from your linux platform)
please.
I don't touch the web.xml file that is created by Ant when my
project is built. It doesn't matter which platform I'm deploying to.
I take the war file and drop it into Tomcat on Mac or Windows and it
just works. It's been over a year since I dropped it into Tomcat on
Linux, but it did run.
Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup
It's very strange, it's there a file to set the platform we use,
No. In this situation, Java is Java and Tomcat is Tomcat. The
platform is irrelevant (in my experience) when simply running one
instance of a WO app in a servlet container.
I am using ERExtension framework, and it's appears nowhere in my war.
Which version of Eclipse/WOLips are you running?
Dave
Cliquez ici si ce message est indésirable (pourriel).
_______________________________________________
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