Re: ERDList - how to make editable
Hi Anjo, propertyKey='bla' = listConfigurationName=ListEditBlas thanks - unfortunately my ignorance is such that I need more help with ListEditBlas. I put in ListEditWeightRange but that doesn't change anything? So I tried EditListWeightRange and EditListEmbeddedWeightRange but both give me: inline: PastedGraphic-6.png What I've got so far is: entity.name = 'WeightRange' = isEntityEditable = true (pageConfiguration = 'EditShippingCost' and propertyKey = 'weightRanges') = componentName = ERDList (pageConfiguration = 'EditShippingCost' and propertyKey = 'weightRanges') = listConfigurationName = ListEditWeightRange cheers, Fabian Am 19.10.2009 um 23:07 schrieb Fabian Peters: Hi all, I'm dabbling with D2W and would like to mimic what Anjo posted here http://osdir.com/ml/web.webobjects.wonder-disc/2006-05/ msg00017.html: pastedGraphic.png Right now I've reached this state with my embedded ERDList: PastedGraphic-5.png What I cannot seem to figure out is how to make this list editable. I've tried setting subTask to edit, setting templateNameForEditableList to ERDEditList. Any hints greatly appreciated... cheers, Fabian ___ 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/anjo %40krank.net This email sent to a...@krank.net ___ 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/lists.fabian%40e-lumo.com This email sent to lists.fab...@e-lumo.com ___ 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: Ternary op + autoboxing + null value = NPE?
On 20/10/2009, at 3:17 PM, Chuck Hill wrote: On Oct 19, 2009, at 8:59 PM, Lachlan Deck wrote: On 20/10/2009, at 3:52 AM, Chuck Hill wrote: On Oct 19, 2009, at 8:37 AM, Mike Schrag wrote: I personally don't like boxing -- I think it's very misleading and leads to weird bugs like this. +1 Keep it consistent... new Integer(1); Integer.valueOf(1) is better for memory usage: Returns a Integer instance representing the specified int value. If a new Integer instance is not required, this method should generally be used in preference to the constructor Integer(int), as this method is likely to yield significantly better space and time performance by caching frequently requested values. Touché :) with regards, -- Lachlan Deck ___ 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
build.properties file eoAdaptorClassName= is empty
HEllo, I dunno if this affects somehow the deployment, but since last week Im having trouble deploying, it just stay turinin on the instance, and then nothing, and some times it tunrs it one. I was checking and comparing files from projects that don't have problem turning on the instance in JavaMonitor, and I saw that the build.properties file they don't have the eoAdaptorClassName= property at all, I dunno if the cause of not turning on the instances its because of this, or what.. if so then what should I put in that property? Thanks Gustavo ___ 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: Snow Leopard and TimeZones
On 2009-10-19, at 11:56 PM, Lachlan Deck wrote: On 20/10/2009, at 9:16 AM, David LeBer wrote: On 2009-10-19, at 6:14 PM, Pascal Robert wrote: - Chuck Hill ch...@global-village.net a écrit : On Oct 19, 2009, at 2:43 PM, David LeBer wrote: On 2009-10-19, at 5:31 PM, Miguel Arroz wrote: Hi! Have you tried to change your system time zone? Just to see if all the timezones have a 5 minutes offset, or if you live in a bogus timezone. :) Yours Bingo! But weird. I'm in EDT, if I set my location to Toronto then I get the weird behaviour. Speaking as a Western Canadian, that seems perfectly correct to me. And we (Montreal) finally do something better than Toronto for a change! Cool :-) So, I'm just playing around and it looks like it is the GMT-00:05 that is messing things up. It effects a bunch of locations (Hamilton, Windsor, Sudbury, Toronto). Guess I should file a bug. Have you tried updating your zoneinfo data? http://lmgtfy.com/?q=webobjects+zoneinfo+site%3Aapple.com See first hit. You can update your WO jars with the latest zoneinfo data as documented. Yeah, that was the first thing I tried. It looks like the Java info is correct. I listed all of the Java TimeZones and they look fine and I can set the TimeZone default to America/Toronto explicitly and it works OK. The disconnect appears to be somewhere between the system timezone and Java. ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ 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: Ternary op + autoboxing + null value = NPE?
Hi all, That's interesting issue. Compiler when running into ..?..:.. expression first determines its common type, then applies autoboxing and then optimizes the expression. Let's consider two types: (1) condition ? Double : double (2) condition ? Double : Double I think compiler determines common type for (1) as 'double' (perhaps for performance reasons?), while for (2) it's 'Double' Then it applies autoboxing where needed. If (1) and (2) are being assigned to Double, then (2) doesn't need to be boxed, while both arguments in (1) are wrapped with Double.valueOf(..). At the end it optimizes the whole expression. As what's in front of 'if' is always true, it leaves out only the middle argument. This way the following code: Double v1 = null; Double v2 = true ? v1 : 0d; gets compiled and then decompiled to ridiculous form: Double v1 = null; Double v2 = Double.valueOf(v1.doubleValue()); Regards, Jedrzej On Oct 19, 2009, at 5:31 PM, Ramsey Gurley wrote: Hi all, I've just discovered that while Double test = true?null:0d; //result: test is null works without error, the following Double test2 = true?(new Object(){public Double testMethod(){return null;}}.testMethod()):0d; //-Throws NPE Throws a NullPointerException. :-/ Ok, that sucks, so what about this? Double test3 = new Object(){public Double testMethod2(){return null;}}.testMethod2(); // result: test3 is null Double test4 = true?test3:0d; //-Throws NPE Also throws a NullPointerException. I suspect this has something to do with the autoboxing, because Object test5 = true?new Object(){public Object testMethod3(){return null;}}.testMethod3():0d; Works fine. I'm running OS X 10.5 and java 1.5 here at work. Is this a known issue? Or is this somehow expected behavior? Ramsey ___ 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/jsobanski%40upcbroadband.com This email sent to jsoban...@upcbroadband.com ___ 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: Hudson and Capistrano
First, thanks for all the Hudson help. I now have all my apps, frameworks and jars building in Hudson. Now I am trying to use Capistrano to deploy the built apps. I have Capistrano working from my development box, but I have run into a problem trying to do the same from the Hudson server. The problem is that I do not have anywhere to setup the ssh public/ private key. I had to run Hudson from within the tomcat server on Mac OS X Server which runs as _appserver. The home for _appserver is /var/empty and I do not want to put the key in that directory. I have tried using Workgroup Manager to set the home directory to / Users/_appserver. It exits without any problems but it does not actually create the home directory. Don't deploy with the appserver user, you should deploy with an user which is in the appserveradm and appserverusr groups instead. ___ 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: Hudson and Capistrano
But how do I invoke the script from within Hudson and have it execute as another user? The only thing I can think of is to do a setuid script, but that has its own problems. Frank On Oct 20, 2009, at 12:04 PM, Pascal Robert wrote: First, thanks for all the Hudson help. I now have all my apps, frameworks and jars building in Hudson. Now I am trying to use Capistrano to deploy the built apps. I have Capistrano working from my development box, but I have run into a problem trying to do the same from the Hudson server. The problem is that I do not have anywhere to setup the ssh public/ private key. I had to run Hudson from within the tomcat server on Mac OS X Server which runs as _appserver. The home for _appserver is /var/empty and I do not want to put the key in that directory. I have tried using Workgroup Manager to set the home directory to / Users/_appserver. It exits without any problems but it does not actually create the home directory. Don't deploy with the appserver user, you should deploy with an user which is in the appserveradm and appserverusr groups instead. ___ 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
WOActionResults
I am returning a WOActionResults in a directaction which is a dynamic xml file but it is getting messed up because the file is getting returned with a blank first line and the xml file then does not get read correct. Is there a way to fix this problem? A way to stop that first blank line from getting added? Thanks Ian ___ 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: WOActionResults
Make sure all of your tags in your component are in one long line, eg : webobject name=1 /webobject name=2 /webobject name=3 / I am returning a WOActionResults in a directaction which is a dynamic xml file but it is getting messed up because the file is getting returned with a blank first line and the xml file then does not get read correct. Is there a way to fix this problem? A way to stop that first blank line from getting added? Thanks Ian ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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
2009 surveys results
Ok, so I bugged everyone for weeks and I don't expect any more answers (even if I know that at least 5 organizations didn't respond...), so I made a summary of all answers we have so far : http://wiki.objectstyle.org/confluence/x/doBf http://wiki.objectstyle.org/confluence/x/E4Bf The surveys are still open, I will close them mid-November. https://www.survs.com/survey/T8TGXAW70R https://www.survs.com/survey/3O47WI4G11 ___ 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: WOActionResults
I have tried that but still having the same problem. I am not sure if it has some thing to do with bad code. I start the file like this ?xml version=1.0 encoding=UTF-8?kml xmlns=http://earth.google.com/kml/2.2 ... On Oct 20, 2009, at 2:56 PM, Pascal Robert wrote: Make sure all of your tags in your component are in one long line, eg : webobject name=1 /webobject name=2 /webobject name=3 / I am returning a WOActionResults in a directaction which is a dynamic xml file but it is getting messed up because the file is getting returned with a blank first line and the xml file then does not get read correct. Is there a way to fix this problem? A way to stop that first blank line from getting added? Thanks Ian ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: WOActionResults
are you using a component to render xml ? if so, i think it's kind of asking for trouble. you better hope nobody ever hits ctrl-shift-f on that component or it might just screw everything up without anyone realising... we do tons of this stuff and predominantly use WOXMLCoder + XSLT, then handcraft a response and stuff the output of our xml generation process into the content of the response. this way i can sleep at night. simon 2009/10/20 Ian Coleman i...@bluedog.net I am returning a WOActionResults in a directaction which is a dynamic xml file but it is getting messed up because the file is getting returned with a blank first line and the xml file then does not get read correct. Is there a way to fix this problem? A way to stop that first blank line from getting added? Thanks Ian ___ 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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: ERIndexing (was: How to achieve a fuzzy match searcher)
Hi Anjo, I should qualify that I'm not using ERIndexing but my own homegrown version of a Lucene index. In my solution I have EOs that update their index when their state transition changes i.e. awakeFromInsertion, didDelete etc... After reading your post I became nervous that I might have overlooked something. Since Lucene doesn't update objects in the index (you can only remove and add them) if users are working on different data sets how could they make the index of out sync with the database? I can see a problem if they are working on the same data. Would you recommend a different place to implement the index updates then in the EO state transitions? best, Johnny On Oct 19, 2009, at 6:58 PM, Anjo Krank wrote: The changes go into two queues, so there is no telling which order they get in two different instances. Cheers, Anjo Am 19.10.2009 um 22:46 schrieb Johnny Miller: Hi Anjo, I kind of understand what you are saying but I have a couple of questions. Wouldn't p1 and p2 have to be editing the same EO for the index to become out of sync with the database? If you have two users editing the same EO wouldn't the normal WO mechanisms resolve the issue? Thanks for your help, Johnny On Oct 19, 2009, at 3:23 AM, Anjo Krank wrote: It's not a matter of thread safety, it's a matter of data in lucene being the same as in your DB. When you run with multiple instances and have heavy edits, you can easily construct a case like: p1 changes data, p2 changes data, p2 updates index, p1 updates index. When you only have one edit app, that's obviously OK (and I'm using a queue for the single app mode anyway). Cheers, Anjo Am 19.10.2009 um 15:06 schrieb David LeBer: On 2009-10-19, at 8:26 AM, David LeBer wrote: On 2009-10-19, at 8:13 AM, Mike Schrag wrote: it's not like you wouldn't have the exact same problems in lucene-proper, though ... We are using ERIndexing for a multiple instance single server deployment. However, the app is readonly for the indexed EOs, there is an admin app that writes, but that is only a single instance. And based on the Lucene docs, it's writers and readers are thread and process safe, which means that multiple writers can access the same index file. Doug Cutting has posted on the topic of thread safety a couple of times. Indexing and searching are not only thread safe, but process safe. What this means is that: • Multiple index searchers can read the lucene index files at the same time. • An index writer or reader can edit the lucene index files while searches are ongoing • Multiple index writers or readers can try to edit the lucene index files at the same time (it's important for the index writer/reader to be closed so it will release the file lock). Not sure how well this works in practice and/or how file system dependent it is for the file system locks to function correctly. On Oct 19, 2009, at 7:50 AM, Gustavo Pizano wrote: NICE!, now my hopes are gone!. so I guess I must make use de facto lucene framework. and follow the examples in LIA? ok.. what can one do... :( thx G. On Mon, Oct 19, 2009 at 1:45 PM, Anjo Krank a...@krank.net wrote: Be aware that ERIndexing is only an experiment (and was write- only code, I don't use it yet). In particular it has several severe drawbacks: - it doesn't really handle multiple instances (possibly) or servers (definitely). That means, for the cases where you actually *do* need the speed of lucene, ie. high-traffic, high- volume which means many servers, you can't use it as is. At least the auto-indexing won't work without some central notification point that actually does the indexing and then redistribute the indexes. If you don't account for that, your indexes won't really match your DB, which means that you will find the wrong stuff super- fast... I don't have a good solution to this, maybe someone who actually uses it might. - The DB store for the indexes was an experiment to fix at least the redistribution problem, but this was truly write only, so use at your own risk. - it duplicates your DB indexes and depending on your DB type and query, your query to resolve the faults probably won't be that much faster than a normal query would have been. - it should really be an EO adaptor instead, which would mean that you could use it in a simple displayGroup. But then again, one of the main points in Lucene is that you don't really need a strict schema to work with it - although you'll probably have one. Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects- d...@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/webobjectspicora%40gmail.com This email sent to webobjectspic...@gmail.com
Re: 2009 surveys results
Hey Pascal, -- I'd send your requests for people to fill them in to the webobjects-deploy webobjects-announce lists also .. perhaps the french mailing lists also. Not everyone subscribes to this one it seems. Naturally not everyone's a 'dev'. On 21/10/2009, at 6:01 AM, Pascal Robert wrote: Ok, so I bugged everyone for weeks and I don't expect any more answers (even if I know that at least 5 organizations didn't respond...), so I made a summary of all answers we have so far : http://wiki.objectstyle.org/confluence/x/doBf http://wiki.objectstyle.org/confluence/x/E4Bf The surveys are still open, I will close them mid-November. https://www.survs.com/survey/T8TGXAW70R https://www.survs.com/survey/3O47WI4G11 ___ 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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com with regards, -- Lachlan Deck ___ 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: WOActionResults
On Oct 20, 2009, at 3:50 PM, Simon wrote: are you using a component to render xml ? if so, i think it's kind of asking for trouble. you better hope nobody ever hits ctrl-shift-f on that component or it might just screw everything up without anyone realising... Are you seeing errors with command-shift-F? I do lots of XML in components, XHTML, RSS, SVG The only errors I remember having XML- wise with command-shift-F was it stripping namespaced attributes. Even then, I think Mike had it fixed before I could even file a JIRA. we do tons of this stuff and predominantly use WOXMLCoder + XSLT, then handcraft That word makes my skin crawl. You may not be to lazy to handcraft, but I am! Give me a reusable component any day. (^_~) a response and stuff the output of our xml generation process into the content of the response. this way i can sleep at night. simon 2009/10/20 Ian Coleman i...@bluedog.net I am returning a WOActionResults in a directaction which is a dynamic xml file but it is getting messed up because the file is getting returned with a blank first line and the xml file then does not get read correct. Is there a way to fix this problem? A way to stop that first blank line from getting added? Thanks Ian ___ 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/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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/rgurley %40mac.com This email sent to rgur...@mac.com smime.p7s Description: S/MIME cryptographic signature ___ 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
simple question, Eclipse/WOLips WebServerResources
In converting a large old XCode project to Eclipse I have made it so that none of the WebServerResources show up when I launch it; but I know all the internal WOComponent packages are consistent and all the resources are in the WebServerResources group/folder of the WOLips WO project. How do I point things so that when I Debug from Eclipse the launched WOA will look for the resources inside the WebServerResources folder of the project? Thanks, almost there, (summit fever taking over) Baiss Eric Magnusson http://www.CascadeWebDesign.com ___ 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
War deploy; maven archetypes problems; web.xml filtering
Hi, I used the woapp-servlet 2.1 archetype to create a simple no wonder project. If I look in the produced .war file, the web.xml file has lines lilke: web-app display-name${project.build.finalName}/display-name context-param param-nameWOJarBundle/param-name param-valueYES/param-value description Whether this app is a true WAR, rather than a stub WAR or SSDD Note that WOROOT, LOCALROOT, WOAINSTALLROOT, WOClassPath are ignored if this is true However, if this is true, WOMainBundle must be set to the main bundle name /description /context-param context-param param-nameWOMainBundle/param-name param-value${project.build.finalName}/param-value description Sets the name of the main bundle. Only used if WOJarBundle is true /description /context-param I will guess that the ${project.build.finalName} should be working with the .pom file to supply a value for that variable. Is the pom not quite right? That file needs 'filtering'; but what path is the WEB-INF/web.xml file on? How does one specify filtering for the web.xml file? It looks like the Info.plist file gets filtered ok with the 2.1 archetype projects, but not the web.xml file. Thanks, gb ___ 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: War deploy; maven archetypes problems; web.xml filtering
http://lmgtfy.com/?q=maven+pom+model resource directorysrc/main/foo/directory filteringtrue/filtering ... /resource :) On 21/10/2009, at 2:05 PM, Mr. G Brown wrote: Hi, I used the woapp-servlet 2.1 archetype to create a simple no wonder project. If I look in the produced .war file, the web.xml file has lines lilke: web-app display-name${project.build.finalName}/display-name context-param param-nameWOJarBundle/param-name param-valueYES/param-value description Whether this app is a true WAR, rather than a stub WAR or SSDD Note that WOROOT, LOCALROOT, WOAINSTALLROOT, WOClassPath are ignored if this is true However, if this is true, WOMainBundle must be set to the main bundle name /description /context-param context-param param-nameWOMainBundle/param-name param-value${project.build.finalName}/param-value description Sets the name of the main bundle. Only used if WOJarBundle is true /description /context-param I will guess that the ${project.build.finalName} should be working with the .pom file to supply a value for that variable. Is the pom not quite right? That file needs 'filtering'; but what path is the WEB-INF/web.xml file on? How does one specify filtering for the web.xml file? It looks like the Info.plist file gets filtered ok with the 2.1 archetype projects, but not the web.xml file. Thanks, gb ___ 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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com with regards, -- Lachlan Deck ___ 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