Re: CruiseControl and Mac's launchd
Mark Thias <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you Grant. I would not have thought to implement it like this, very nice. A great lesson for future java projects as well. Thanks again for sharing your solution. Take care, Mark On Fri, May 8, 2009 at 10:58 AM, Grant Limberg <[email protected]> wrote: > Mark, > We have it working just fine via launchd. Here's our launchd file. I had > a problem using launchd to start via the bash script that comes with CC, so > I just have launchd call java directly with the command line options it > would have had with the startup script. > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" " > http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>Label</key> > <string>org.sourceforge.cruisecontrol</string> > <key>WorkingDirectory</key> > <string>/opt/cruisecontrol</string> > <key>ProgramArguments</key> > <array> > <string>/System/Library/Frameworks/JavaVM.framework/Home/bin/java</string> > <string>-Xms128m</string> > <string>-Xmx256m</string> > > <string>-Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder</string> > <string>-Dcc.library.dir=/opt/cruisecontrol/lib</string> > <string>-Djetty.logs=/opt/cruisecontrol/logs</string> > <string>-jar</string> > <string>/opt/cruisecontrol/lib/cruisecontrol-launcher.jar</string> > <string>-jmxport</string> > <string>8000</string> > <string>-webport</string> > <string>8080</string> > <string>-rmiport</string> > <string>1099</string> > </array> > <key>EnvironmentVariables</key> > <dict> > <!-- put any environment variables you need here in the format: > <key>VARIABLE_NAME</key> > <string>variable contents</string> > > The key/string combo can be repeated any number of times for any > environment variables you may need > --> > </dict> > <key>RunAtLoad</key> > <true/> > </dict> > </plist> > Grant Limberg > > > [email protected] > http://www.cedrus.com/ > > > > On May 7, 2009, at 8:09 PM, Mark Thias wrote: > > Mac replaced Unix daemons with their own implementation which they call > "launchd". > > Has anyone been able to integrate CruiseControl into Mac's OS X 10 launchd > world? If so, I have a couple of questions. > I'm close to getting it working but have hit a wall. I'm fairly new to > Macs. > > Thanks, > Mark > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. > http://p.sf.net/sfu/kodak-com_______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
unknown.gif
(image/gif, 2.8 KB) - not displayed