Hi,

I found it, just set 

  <context-param>
    <param-name>WOAppMode</param-name>
    <param-value>Deployment</param-value>
  </context-param>


in web.xml

just have to found where to set it automatically with ant...

Jérémy

P.S. : sometimes, asking the question give you the answer

Le 14 sept. 2011 à 16:56, Jérémy DE ROYER [INGENCYS] a écrit :

> Hi all,
> 
> I'm deploying an application with tomcat.
> 
> The application works perfectly except that all resources are called with 
> "/laloireenvideos/WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FWebObjects"
>  (using wr?data=)
> 
> I want my resources being called via 
> "/WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/Frameworks..."
> 
> I didn't modify the build.properties and build.xml
> 
> webXML_CustomContent=
> project.name=LaLoireEnVideosFrAsServlet_v30
> webXML=true
> eoAdaptorClassName=
> servletDeployment=true
> principalClass=your.app.Application
> classes.dir=bin
> project.name.lowercase=laloireenvideosfrasservlet_v30
> customInfoPListContent=
> project.type=application
> embed.Network=true
> embed.System=true
> embed.Local=true
> embed.User=true
> 
> So that the windows file launching the application contains :
> 
> :: Launch the application.
> echo Launching %~n0.
> echo %JAVAEXE% %JVMOPTS% %JAVAARGS% -classpath WOBootstrap.jar 
> com.webobjects._bootstrap.WOBootstrap %THEARGS% -WOFrameworksBaseURL 
> /WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/Frameworks
> call %JAVAEXE% %JVMOPTS% %JAVAARGS% -classpath WOBootstrap.jar 
> com.webobjects._bootstrap.WOBootstrap %THEARGS% -WOFrameworksBaseURL 
> /WebObjects/LaLoireEnVideosFrAsServlet_v30.woa/Frameworks
> 
> so why doesn't it work ???
> 
> Jérémy
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]
  • Deploy as a servlet Jérémy DE ROYER [INGENCYS]
    • Re: Deploy as a servlet Jérémy DE ROYER [INGENCYS]

Reply via email to