• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat


  • Subject: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
  • From: Philippe Roud <email@hidden>
  • Date: Thu, 07 Aug 2008 13:06:25 +0200

David Avendasora a écrit :
Where is your Properties file? is it in the project's Resources directory?
Exactly there, in both the test project that is working and the application under porting effort.

If so, you should have:

Resources/**/*

as one of the entries in your resources.include.patternset file.
I have this entry.

This _should_ get everything you put in Resources automatically.
That's exactly what I thought, but in one case it doesn't work after a Project Clean, I need to modify the file so that it is seen by the build process. (I also tried to add a Resources/**/Properties pattern but this doesn't change anything)

I compared the patterns between the two projects and as far as I know checked all the related parameters / properties between those two, all seem to be ok, but there is surely something different.

PHiL



Dave


On Aug 7, 2008, at 5:32 AM, Philippe Roud wrote:

Hi Chuck,

I spent some time this morning to understand the build process and try to make this process include my Properties file...
I add a look at the files under woproject/ , there is no excluding pattern and there is a general including pattern for files under Resources...


  If I do a Project->Clean, my Properties file is not included
  If I modify the Properties file, the file is included

This is only a problem for fresh builds...

I tried to add a rule to include this precise file, but it doesn't change anything...

I also have a test project that is working correctly, I'm totally unable to make this one work...


Best regards

PHiL



Chuck Hill a écrit :

On Aug 6, 2008, at 12:10 AM, Philippe Roud wrote:

Thanks for the hint,

I'm back to the code and hit by something totally unrelated but somewhat annoying when building/cleaning:

my webobjects "Properties" file, under Resources is not copied to the build/.woa/Content/Resources
I can see it in WOLips perspective so it shouldn't be filtered out.

What you see in the WOLips perspective have nothing to do with what gets in the build. The build contents is controlled by the build.xml file and / or the files under woproject/


Chuck





Is there a parameter somewhere in the configs or a rule to set so that it is copied automatically?

Best regards

PHiL

Chuck Hill a écrit :


_______________________________________________
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
  • Follow-Ups:
    • Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
      • From: David Avendasora <email@hidden>
References: 
 >work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Philippe Roud <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Chuck Hill <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Philippe Roud <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Chuck Hill <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: Philippe Roud <email@hidden>)
 >Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
  • Next by Date: Re: identified : Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
  • Previous by thread: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
  • Next by thread: Re: work almost good on a leopard server with WO5.4, but fails as war on tomcat
  • Index(es):
    • Date
    • Thread