Deployment setup on a OS X box
I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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: Deployment setup on a OS X box
Great idea! +1 Sent from my iPad On Oct 10, 2010, at 2:01 AM, Pascal Robert prob...@macti.ca wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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/pyu%40mac.com This email sent to p...@mac.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: TurnKey Installer Components
My installation is in my MacBook Pro is: Harddisk 1 : System and default Application that comes with OS X Harddisk 2 : My User Folder with ~/Application (All Application with Eclipse) 1. That makes it more easy to switch to a new machine 2. Make clones from System Data int different Storage, faster Backup and easy restore the System only if something going wrong. 3. Update to a new System like Leo to Snow Leo was very fast, because no touch to my User folders That's my Setup Thank you K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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: Deployment setup on a OS X box
Would be nice if the installer works also on Snow Leopard with the new Apache Module. On 2010/10/10, at 8:01, Pascal Robert wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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/ken%40ksroom.com This email sent to k...@ksroom.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
Fwd: Migrations encoding
Hi, I am running into the same issue below. I am using ERXJDBCUtilities.executeUpdateScriptFromResourceNamed() to insert few rows in the DB. The DB is using UTF-8 Encoding. File containing the SQL statements is using UTF-8 as well. The problem is that a value like Québec is not inserted properly using the ERXJDBCUtilities.executeUpdateScriptFromResourceNamed(). The same fine inserts the data properly if executed directly using Postgres command line. I tried to modify the file.encoding Property with no luck. I tried the UTF-16 encoding: I change the file encoding (made sure to tell Eclipse about the UTF-16 encoding). Now, the migration fails ERXJDBCUtilities.executeUpdateScriptFromResourceNamed() throws an exception: Caused by: java.lang.RuntimeException: Failed to execute 'ˇ˛INSERT INTO entity_status(status_name) values ('ACTIVE')'. at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:660) at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:614) at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScriptFromResourceNamed(ERXJDBCUtilities.java:734) at ca.fusiondev.migration.Peripheral0.upgrade(Peripheral0.java:581) at er.extensions.migration.ERXMigrationDatabase$Migration.upgrade(ERXMigrationDatabase.java:444) at er.extensions.migration.ERXMigrator$ERXMigrationAction.doPerform(ERXMigrator.java:473) ... 16 more Caused by: org.postgresql.util.PSQLException: ERROR: insufficient data left in message at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:299) at er.extensions.jdbc.ERXJDBCUtilities.executeUpdateScript(ERXJDBCUtilities.java:656) ... 21 more However setting the JVM parameter file.encoding=UTF-8 in the command line solves my issue and data are inserted properly. I am wondering if somebody knows about a better solution for this issue. Thanks, Mahdi Begin forwarded message: From: Johann Werner j...@oyosys.de Date: July 20, 2009 1:02:17 PM GMT+03:00 To: WebObjects-Dev Mailing List List webobjects-dev@lists.apple.com Subject: Re: Migrations encoding Hi, I just came across the same problem. I have an UTF-8 encoded file that should be executed during migrations. On my development machine everything works as expected but on the deployment machine unicode characters get garbled. After some debugging I found the difference between both machines (development is 10.5.7 Client, deployment 10.5.7 Server): the java system property file.encoding is UTF-8 on my development machine and on the server it is set to MacRoman. I don't know why this setting is different nor how I can change this default. By adding a -Dfile.encoding=UTF-8 to the JVM arguments everything is ok but this means that either I have to add this in JavaMonitor or add it to the generated WOA-startup script. Both things you can easily forget and screw up your migrations. So another solution I tried is to add System.setProperty(file.encoding, UTF-8); (1) to the application constructor. This seems to remedy the situation but unfortunately the server showed the same garbled string :( By stepping through the code the line return new String(ERXFileUtilities.bytesFromInputStream(in)); (2) in ERXStringUtilities.stringFromInputStream calls String-StringCoding.decode-Converters.getDefaultEncodingName which returns again MacRoman. Could it be that setting the system property (1) does not alter the value globally? How are you assuring that the file encoding defaults to UTF-8 in your WO applications? Is there a special trick? Is changing the startup script in the ant build the way to go (so should it possibly be made the default in WOLips)? A temporary patch would be to change the line (2) to return new String(ERXFileUtilities.bytesFromInputStream(in), Charset.defaultCharset()); jw Am 15.06.2009 um 20:45 schrieb Tusker: Yup. I made sure it was using bbedit. I read in the sql file manually(using FileInputStream with UTF-16 encoding) and inserted it into the database via editingcontext with no problem at all. How else can I make sure it's encoded properly? On Jun 14, 2009, at 12:20 PM, Chuck Hill wrote: On Jun 12, 2009, at 10:59 AM, Tusker wrote: Hi, Same problem. I'm actually using a *.sql file within the Resources folder. It's been working great until I got to unicode
Re: Golipse.app
On 2010-10-09, at 10:55 PM, David LeBer wrote: Based on Mike's wolips install script: http://gist.github.com/610081 I whipped up a thin cocoa wrapper for the command line challenged in our ranks. Demo here: https://files.me.com/dav1d/wxajka.mov Let me know if you are interested in testing it. Golipse.app test build: https://files.me.com/dav1d/zri2jz ;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: Golipse.app
Ah - cool. There are some things I like about this, and somethings which I would consider changing (IMHO). Pros - Always Up-to-date (which is really, mostly, always)...much nicer than have a script on a server continuously generate packages - Simplicity (big for me) Cons - Need to be online during installation (some folks download packages and then run, or are not constantly connected) - Not a typical installation package (which, as an IT guy, drives me just a little crazy) - No continuous feedback (though probably easily solved if using cocoa API's like NSURL), like with a simple progress bar Questions - Is connectivity checked before attempting the download? - Is the download file md5 hash checked before download? - Are there alternate links in case the primary download URLs fail? - Is there a Cancel button? - Are we using API's such as NSURL, or running NSTask? In the past, I create packages (using packagemaker) which contained a new feature (Package References) - so the package would download components remotely during the install process. We found this confused the users and frustrated support staff. I thought it was cool, and basically the future...since we're rapidly heading to a space where everything is connected, always. I suppose we're not quite there yet since every client and business, save a few enterprise groups, that told me to change it back). I'm really interested in what everyone else thinks hereshould we shelve the turnkey in favor of something like this? Not wanting to devote time to spend on yet another installation solution...we already have a few now, and I think we need to choose one (maybe two) which will be the future newbie installerneed to get rid of the confusion there. Thanks, jeremy On Oct 9, 2010, at 10:55 PM, David LeBer wrote: Based on Mike's wolips install script: http://gist.github.com/610081 I whipped up a thin cocoa wrapper for the command line challenged in our ranks. Demo here: https://files.me.com/dav1d/wxajka.mov Let me know if you are interested in testing it. ;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 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
Re: Golipse.app
On 2010-10-10, at 12:17 PM, Jeremy Matthews wrote: Ah - cool. There are some things I like about this, and somethings which I would consider changing (IMHO). Pros - Always Up-to-date (which is really, mostly, always)...much nicer than have a script on a server continuously generate packages - Simplicity (big for me) Cons - Need to be online during installation (some folks download packages and then run, or are not constantly connected) - Not a typical installation package (which, as an IT guy, drives me just a little crazy) - No continuous feedback (though probably easily solved if using cocoa API's like NSURL), like with a simple progress bar Questions - Is connectivity checked before attempting the download? - Is the download file md5 hash checked before download? - Are there alternate links in case the primary download URLs fail? - Is there a Cancel button? Yes - Are we using API's such as NSURL, or running NSTask? In the past, I create packages (using packagemaker) which contained a new feature (Package References) - so the package would download components remotely during the install process. We found this confused the users and frustrated support staff. I thought it was cool, and basically the future...since we're rapidly heading to a space where everything is connected, always. I suppose we're not quite there yet since every client and business, save a few enterprise groups, that told me to change it back). I'm really interested in what everyone else thinks hereshould we shelve the turnkey in favor of something like this? Not wanting to devote time to spend on yet another installation solution...we already have a few now, and I think we need to choose one (maybe two) which will be the future newbie installerneed to get rid of the confusion there. This is just a simple Cocoa wrapper around Mike's shell script. As such it simply derives the appropriate download path and then calls through to an embedded version of the script with NSTask. It is not designed to be a replacement for anything, and to be completely honest, I have no interest in creating or supporting the next great installer. Mike's script is just really cool, and I wanted to make it easier to use. I have a wickedly fast internet connection right now, so I can have a complete eclipse install up and running in about 3 minutes. Which is awesome BTW. I might consider enhancing Mike's script so it takes a second optional eclipse archive location, so you can grab from a local archive for the eclipse app itself, but that is probably the extent of my planned enhancements. That said, I'll probably also push this up to github for those who want to extend it themselves. Thanks, jeremy On Oct 9, 2010, at 10:55 PM, David LeBer wrote: Based on Mike's wolips install script: http://gist.github.com/610081 I whipped up a thin cocoa wrapper for the command line challenged in our ranks. Demo here: https://files.me.com/dav1d/wxajka.mov Let me know if you are interested in testing it. ;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: Deployment setup on a OS X box
On Oct 9, 2010, at 11:01 PM, Pascal Robert wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists And /Library/WebObjects/Configuration - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications I'd simplify this and put these both in the same directory. - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Where will this go? You will also need the apache.conf file. Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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
Re: Deployment setup on a OS X box
Le 2010-10-10 à 14:25, Chuck Hill a écrit : On Oct 9, 2010, at 11:01 PM, Pascal Robert wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists And /Library/WebObjects/Configuration - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications I'd simplify this and put these both in the same directory. They will be both in /Library/WebObjects/JavaApplications - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Where will this go? You will also need the apache.conf file. Loading is done with apxs. Yeah, I forgot to add the webobjects.conf file to the list. The .pkg is almost ready, the only thing I need to do is the postflight script to call apxs to load the module + moving the webobjects.conf file in /etc/apache2 and adding it to httpd.conf. -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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: Deployment setup on a OS X box
my 2 cents... i got sick of trying to remember where all the bits and pieces go, so now on linux we use this structure: /opt/WOApplications /opt/WOWebServerResources /opt/WODeployment our apps go in WOApplications our web server resources go in - yes you guessed it - WOWebServerResources and javamonitor wotaskd go in WODeployment deployment for idiots. like me. oh, and we've published a script that builds a linux box inline with this from scratch: http://webobjects.s3.amazonaws.com/wo-install.sh it's only tested on amazon linux, but i guess it might work on simliar flavours (centos/redhat). the script is part of a wider effort to fully automate deployment on ec2... simon On 10 October 2010 19:25, Chuck Hill ch...@global-village.net wrote: On Oct 9, 2010, at 11:01 PM, Pascal Robert wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists And /Library/WebObjects/Configuration - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications I'd simplify this and put these both in the same directory. - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Where will this go? You will also need the apache.conf file. Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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/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: Deployment setup on a OS X box
Le 2010-10-10 à 14:53, Simon a écrit : my 2 cents... i got sick of trying to remember where all the bits and pieces go, so now on linux we use this structure: /opt/WOApplications /opt/WOWebServerResources /opt/WODeployment our apps go in WOApplications our web server resources go in - yes you guessed it - WOWebServerResources and javamonitor wotaskd go in WODeployment deployment for idiots. like me. oh, and we've published a script that builds a linux box inline with this from scratch: http://webobjects.s3.amazonaws.com/wo-install.sh it's only tested on amazon linux, but i guess it might work on simliar flavours (centos/redhat). the script is part of a wider effort to fully automate deployment on ec2... I will take a look at that. I was thinking of providing RPMs for CentOS/RedHat and a Yum repository with JavaMonitor, wotaskd and the Apache module. simon On 10 October 2010 19:25, Chuck Hill ch...@global-village.net wrote: On Oct 9, 2010, at 11:01 PM, Pascal Robert wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists And /Library/WebObjects/Configuration - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications I'd simplify this and put these both in the same directory. - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Where will this go? You will also need the apache.conf file. Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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/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: Golipse.app
Will the install result in a workspace set up exactly like Mike's? http://www.youtube.com/watch?v=b0AGiq9j_Ak Seriously though, there could be some benefit in that. Tim Worman UCLA GSEIS On Oct 10, 2010, at 9:48 AM, David LeBer wrote: On 2010-10-10, at 12:17 PM, Jeremy Matthews wrote: Ah - cool. There are some things I like about this, and somethings which I would consider changing (IMHO). Pros - Always Up-to-date (which is really, mostly, always)...much nicer than have a script on a server continuously generate packages - Simplicity (big for me) Cons - Need to be online during installation (some folks download packages and then run, or are not constantly connected) - Not a typical installation package (which, as an IT guy, drives me just a little crazy) - No continuous feedback (though probably easily solved if using cocoa API's like NSURL), like with a simple progress bar Questions - Is connectivity checked before attempting the download? - Is the download file md5 hash checked before download? - Are there alternate links in case the primary download URLs fail? - Is there a Cancel button? Yes - Are we using API's such as NSURL, or running NSTask? In the past, I create packages (using packagemaker) which contained a new feature (Package References) - so the package would download components remotely during the install process. We found this confused the users and frustrated support staff. I thought it was cool, and basically the future...since we're rapidly heading to a space where everything is connected, always. I suppose we're not quite there yet since every client and business, save a few enterprise groups, that told me to change it back). I'm really interested in what everyone else thinks hereshould we shelve the turnkey in favor of something like this? Not wanting to devote time to spend on yet another installation solution...we already have a few now, and I think we need to choose one (maybe two) which will be the future newbie installerneed to get rid of the confusion there. This is just a simple Cocoa wrapper around Mike's shell script. As such it simply derives the appropriate download path and then calls through to an embedded version of the script with NSTask. It is not designed to be a replacement for anything, and to be completely honest, I have no interest in creating or supporting the next great installer. Mike's script is just really cool, and I wanted to make it easier to use. I have a wickedly fast internet connection right now, so I can have a complete eclipse install up and running in about 3 minutes. Which is awesome BTW. I might consider enhancing Mike's script so it takes a second optional eclipse archive location, so you can grab from a local archive for the eclipse app itself, but that is probably the extent of my planned enhancements. That said, I'll probably also push this up to github for those who want to extend it themselves. Thanks, jeremy On Oct 9, 2010, at 10:55 PM, David LeBer wrote: Based on Mike's wolips install script: http://gist.github.com/610081 I whipped up a thin cocoa wrapper for the command line challenged in our ranks. Demo here: https://files.me.com/dav1d/wxajka.mov Let me know if you are interested in testing it. ;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/lists%40thetimmy.com This email sent to li...@thetimmy.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
Auto-inspect result sets of 1
Hi All, When a user performs a query, if the results contain exactly one object I want to return an Inspect page for that object instead of a List page. I assume I'm going to want to implement a NextPageDelegate, but I'm not sure how to do that. I've looked around but I can't seem to find a good example. Does anyone have an example NextPageDelegate that I can use as a starting point? I promise to create a Wiki page documenting how to do this for future mes. Thanks! Dave ___ 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: Deployment setup on a OS X box
On 11/10/2010, at 5:23 AM, Simon wrote: oh, and we've published a script that builds a linux box inline with this from scratch: http://webobjects.s3.amazonaws.com/wo-install.sh Thanks for sharing that. Awesome. Are you deliberately compiling the adaptor from scratch? If nothing else I guess that means you don't have to determine what architecture you're on. I'm just thinking you could compile it once for each, store those somewhere and download them with that script, then you could avoid installing gcc. -- Paul. http://logicsquad.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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Deployment setup on a OS X box
+1 Excellent idea. P.S. The offer still stands to add scorpius.hpcc.ttu.edu and/or hercules.cs.ttu.edu to further facilitate the WO Community at large, say as a mirror. The bandwidth is good and they are both Mac servers. I further encourage fellow universities to join in on this. After all, that is how the infamous social network spread like wild fire. On 10/9/10 11:08 PM, Paul D Yu p...@mac.com wrote: Great idea! +1 Sent from my iPad On Oct 10, 2010, at 2:01 AM, Pascal Robert prob...@macti.ca wrote: I'm setting up a Mac Mini Server, and it's the first time since 2008 that I'm setting up a OS X box just for deployment. I installed WO with woinstaller.jar, but I did forget that it won't install it in /, saying that /System already exists. So I installed it in /Developer, and had to create a symlink for /Library/WebObjects to /Developer/Library/WebObjects. Now, since it's a deployment box, I don't actually need WO on it, I only need the Apache adaptor, wotaskd and JavaMonitor with embedded frameworks. So I'm thinking of creating a installer (.pkg) that would : - create /Library/WebObjects and /Library/WebServer/Documents if they don't already exists - install wotaskd.woa from Wonder, in /Library/WebObjects/JavaApplications - instal JavaMonitor.woa from Wonder, in /Library/WebObjects/JavaApplications - install the two launchctl scripts - install and load the Apache HTTP adaptor from Wonder Any opinions on this? -- Pascal Robert prob...@macti.ca AIM/iChat : MacTICanada LinkedIn : http://www.linkedin.com/in/macti Twitter : pascal_robert ___ 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/pyu%40mac.com This email sent to p...@mac.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/daniel.beatty%40navy.mil This email sent to daniel.bea...@navy.mil Daniel Beatty Computer Scientist, Detonation Sciences Branch Code 474300D 2401 E. Pilot Plant Rd. M/S 1109 China Lake, CA 93555 daniel.bea...@navy.mil (760)939-7097 ___ 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