Re: WebServerResources patternset

2010-04-15 Thread John Huss
For posterity's sake:
I got this working although the files are duplicated when built with ant.
 So now I have this:

woproject/wsresources.include.patternset

WebServerResources/**/*
war/**/*


woproject/wsresources-war.include.patternset (only used by ant, see below)

**/*


build.xml

















This works perfectly with the eclipse builder - it has no issues.  The ant
builder on the other hand seems to be special casing the WebServerResources
source folder and treating others differently.  With this setup using ant I
get the war folder itself copied into the build's WSR AND the contents of
war copied into the build's WSR.  So there is duplication, but it will work.

I'm on my way to file a bug since the behavior between eclipse and ant
should be the same and it's not.

Thanks,
John
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WebServerResources patternset

2010-04-14 Thread Chuck Hill


On Apr 14, 2010, at 1:43 PM, John Huss wrote:


Just the regular stuff:


		classname="org.objectstyle.woproject.ant.WOApplication"/>


		customInfoPListContent="${customInfoPListContent}" principalClass="$ 
{principalClass}" webXML="${webXML}" webXML_CustomContent="$ 
{webXML_CustomContent}"  
servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor">













OK, I am not sure that it is "copying the war folder itself instead of  
just the contents of it - which is different than the WSR", the  
WebServerResources in


App.woa/Contents/WebServerResources/app.css

is part of the path from "."  I think.  I hate this part of Ant.  It  
makes my head hurt.  And I suspect woproject of sneaky tricks to make  
normal things "just work".  Abnormal things (like what you are doing)  
then don't "just work".


I _think_ what you want is something like this:






and take war/**/* out of wsresources.include.patternset and add this:






Chuck










			eclipse="true" />
			eclipse="true" />




			eclipse="true" />









On Wed, Apr 14, 2010 at 3:37 PM, Chuck Hill village.net> wrote:

What is in the woapplication task in your build.xml  file?


--
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WebServerResources patternset

2010-04-14 Thread John Huss
Just the regular stuff:






 












 








 










 












 











On Wed, Apr 14, 2010 at 3:37 PM, Chuck Hill wrote:

> What is in the woapplication task in your build.xml  file?
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WebServerResources patternset

2010-04-14 Thread Chuck Hill

What is in the woapplication task in your build.xml  file?


On Apr 14, 2010, at 1:19 PM, John Huss wrote:

I have another directory that I want to be included as web server  
resources so my wsresources.include.patternset looks like this:


WebServerResources/**/*
war/**/*

When I build with ant the result looks like:

App.woa/Contents/WebServerResources/app.css
App.woa/Contents/WebServerResources/war/...

So it is copying the war folder itself instead of just the contents  
of it - which is different than the WSR.  How do I get it to copy  
the contents and not the root folder?


Thanks,
John
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to ch...@global-village.net


--
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


WebServerResources patternset

2010-04-14 Thread John Huss
I have another directory that I want to be included as web server resources
so my wsresources.include.patternset looks like this:

WebServerResources/**/*
war/**/*

When I build with ant the result looks like:

App.woa/Contents/WebServerResources/app.css
App.woa/Contents/WebServerResources/war/...

So it is copying the war folder itself instead of just the contents of it -
which is different than the WSR.  How do I get it to copy the contents and
not the root folder?

Thanks,
John
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com