Re: Using Jenkins to Build a WOApp
Hi Roger, i vaguely remember having dealt with those WOCompile problems as well when I set it up. My jenkins server is running 10.7 however. In any case I believe the WOJenkins stuff needs customizing for certain app/framework setups. You could go and have a look at my forks: https://github.com/maiksd/WOJenkins https://github.com/maiksd/WOJenkins_Job_InstallWOAndWOnder Perhaps there's a clue in there for you. Maik Am 23.01.2013 um 21:00 schrieb Roger Perryman : > I'm trying to configure Jenkins to build my WO Application so that it can be > deployed. I'm not sure I ever had Jenkins working properly because I am > getting permission errors. Originally, I had installed Hudson on OSX 10.5.8. > Then it was upgraded to Jenkins. Also we switched from SVN to Git. That is > when the problems started. The recommended git version is not available on > 10.5. I attempted to install Jenkins on my laptop (10.6.7). Jenkins _seemed_ > to work but I was getting permission errors from Git. I completely removed > Jenkins and removed all known artifacts. I then followed these steps from the > Wiki: > > I reinstalled following "Installing and Configuring Jenkins." I chose the > stand-alone Mac OS X setup. Everything worked as expected. In the Post > Installation, I installed Multiple SCMs and Git Plugin. I did not configure > for using SSL at this time. > > I followed "Installing WebObjects and WOnder for Jenkins using WOJenkins." > This step built successfully. > > Then I followed the steps in "Multi-Project Jobs Using WOJenkins." This step > failed at .../SimpleBlogLogic/build.xml:87 taskdef class > org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader > AntClassLoader[]. > > I'm not sure if there is a step missing in the guide or if I missed step. > I've reviewed the steps and ran the job again with the same results. Perhaps > I have chosen the wrong template for my needs. Do I just clone the > "My_WebObjects_Project" each time I want to create a new project? Ultimately, > I want to compile my application and dependent frameworks (WO, WOnder, and > two of my own) and bundle them together for deployment. I'm considering a war > file so I don't have to deal with installation or version issues on the > server. I want simple and reliable. I also need to replicate this process on > a dedicated build server once I have verified everything works. > > My source repository is in Stash on another computer on the local network. > I'm using my personal credentials for now. I suspect I will need to create an > SSH key for the build server to talk to Stash and place it in > JENKINS_HOME/.ssh. > > Here is the setup on my laptop. > OSX:10.6.7 > WO: 5.4.3 > WOnder: master (5.8.x ?) > Git:1.7.9.1 > Jenkins:1.499 > > Roger > > > ___ > 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: > https://lists.apple.com/mailman/options/webobjects-dev/th-dev%40onlinehome.de > > This email sent to th-...@onlinehome.de > ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Jenkins to Build a WOApp
Thanks Pascal! On Jan 24, 2013, at 9:11 PM, Pascal Robert wrote: > The problem is probably that the scripts inside WOJenkins fetches > woprojet.jar (who contains the Ant tasks needed to build a WO project) and > WOInstaller.jar from webobjects.mdimension.com, and Jenkins on that host is > down most of the time, so the script is fetching a HTML page instead of the > actual JARs. That's why you are getting : > > « Then I followed the steps in "Multi-Project Jobs Using WOJenkins." This > step failed at .../SimpleBlogLogic/build.xml:87 taskdef class > org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader > AntClassLoader[]. » > > It actually happened to other people too, and I keep forgetting to fix it and > create a pull request… Which I did yesterday, the fix version is available > here: > > https://github.com/wocommunity/WOJenkins > > It fetches them from wocommunity.org instead of webobjects.mdimension.com, so > if you delete the project templates you have with the ones coming from > https://github.com/wocommunity/WOJenkins, the problem should go away. > > - > > I'm trying to configure Jenkins to build my WO Application so that it can be > deployed. I'm not sure I ever had Jenkins working properly because I am > getting permission errors. Originally, I had installed Hudson on OSX 10.5.8. > Then it was upgraded to Jenkins. Also we switched from SVN to Git. That is > when the problems started. The recommended git version is not available on > 10.5. I attempted to install Jenkins on my laptop (10.6.7). Jenkins _seemed_ > to work but I was getting permission errors from Git. I completely removed > Jenkins and removed all known artifacts. I then followed these steps from the > Wiki: > > I reinstalled following "Installing and Configuring Jenkins." I chose the > stand-alone Mac OS X setup. Everything worked as expected. In the Post > Installation, I installed Multiple SCMs and Git Plugin. I did not configure > for using SSL at this time. > > I followed "Installing WebObjects and WOnder for Jenkins using WOJenkins." > This step built successfully. > > Then I followed the steps in "Multi-Project Jobs Using WOJenkins." This step > failed at .../SimpleBlogLogic/build.xml:87 taskdef class > org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader > AntClassLoader[]. > > I'm not sure if there is a step missing in the guide or if I missed step. > I've reviewed the steps and ran the job again with the same results. Perhaps > I have chosen the wrong template for my needs. Do I just clone the > "My_WebObjects_Project" each time I want to create a new project? Ultimately, > I want to compile my application and dependent frameworks (WO, WOnder, and > two of my own) and bundle them together for deployment. I'm considering a war > file so I don't have to deal with installation or version issues on the > server. I want simple and reliable. I also need to replicate this process on > a dedicated build server once I have verified everything works. > > My source repository is in Stash on another computer on the local network. > I'm using my personal credentials for now. I suspect I will need to create an > SSH key for the build server to talk to Stash and place it in > JENKINS_HOME/.ssh. > > Here is the setup on my laptop. > OSX:10.6.7 > WO: 5.4.3 > WOnder: master (5.8.x ?) > Git:1.7.9.1 > Jenkins:1.499 > > > > ___ > 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: > https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com > > This email sent to webobje...@avendasora.com — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Kaiten, Inc. ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: Using Jenkins to Build a WOApp
The problem is probably that the scripts inside WOJenkins fetches woprojet.jar (who contains the Ant tasks needed to build a WO project) and WOInstaller.jar from webobjects.mdimension.com, and Jenkins on that host is down most of the time, so the script is fetching a HTML page instead of the actual JARs. That's why you are getting : « Then I followed the steps in "Multi-Project Jobs Using WOJenkins." This step failed at .../SimpleBlogLogic/build.xml:87 taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader AntClassLoader[]. » It actually happened to other people too, and I keep forgetting to fix it and create a pull request… Which I did yesterday, the fix version is available here: https://github.com/wocommunity/WOJenkins It fetches them from wocommunity.org instead of webobjects.mdimension.com, so if you delete the project templates you have with the ones coming from https://github.com/wocommunity/WOJenkins, the problem should go away. - I'm trying to configure Jenkins to build my WO Application so that it can be deployed. I'm not sure I ever had Jenkins working properly because I am getting permission errors. Originally, I had installed Hudson on OSX 10.5.8. Then it was upgraded to Jenkins. Also we switched from SVN to Git. That is when the problems started. The recommended git version is not available on 10.5. I attempted to install Jenkins on my laptop (10.6.7). Jenkins _seemed_ to work but I was getting permission errors from Git. I completely removed Jenkins and removed all known artifacts. I then followed these steps from the Wiki: I reinstalled following "Installing and Configuring Jenkins." I chose the stand-alone Mac OS X setup. Everything worked as expected. In the Post Installation, I installed Multiple SCMs and Git Plugin. I did not configure for using SSL at this time. I followed "Installing WebObjects and WOnder for Jenkins using WOJenkins." This step built successfully. Then I followed the steps in "Multi-Project Jobs Using WOJenkins." This step failed at .../SimpleBlogLogic/build.xml:87 taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader AntClassLoader[]. I'm not sure if there is a step missing in the guide or if I missed step. I've reviewed the steps and ran the job again with the same results. Perhaps I have chosen the wrong template for my needs. Do I just clone the "My_WebObjects_Project" each time I want to create a new project? Ultimately, I want to compile my application and dependent frameworks (WO, WOnder, and two of my own) and bundle them together for deployment. I'm considering a war file so I don't have to deal with installation or version issues on the server. I want simple and reliable. I also need to replicate this process on a dedicated build server once I have verified everything works. My source repository is in Stash on another computer on the local network. I'm using my personal credentials for now. I suspect I will need to create an SSH key for the build server to talk to Stash and place it in JENKINS_HOME/.ssh. Here is the setup on my laptop. OSX:10.6.7 WO: 5.4.3 WOnder: master (5.8.x ?) Git:1.7.9.1 Jenkins:1.499 ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Using Jenkins to Build a WOApp
I'm trying to configure Jenkins to build my WO Application so that it can be deployed. I'm not sure I ever had Jenkins working properly because I am getting permission errors. Originally, I had installed Hudson on OSX 10.5.8. Then it was upgraded to Jenkins. Also we switched from SVN to Git. That is when the problems started. The recommended git version is not available on 10.5. I attempted to install Jenkins on my laptop (10.6.7). Jenkins _seemed_ to work but I was getting permission errors from Git. I completely removed Jenkins and removed all known artifacts. I then followed these steps from the Wiki: I reinstalled following "Installing and Configuring Jenkins." I chose the stand-alone Mac OS X setup. Everything worked as expected. In the Post Installation, I installed Multiple SCMs and Git Plugin. I did not configure for using SSL at this time. I followed "Installing WebObjects and WOnder for Jenkins using WOJenkins." This step built successfully. Then I followed the steps in "Multi-Project Jobs Using WOJenkins." This step failed at .../SimpleBlogLogic/build.xml:87 taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found using the classloader AntClassLoader[]. I'm not sure if there is a step missing in the guide or if I missed step. I've reviewed the steps and ran the job again with the same results. Perhaps I have chosen the wrong template for my needs. Do I just clone the "My_WebObjects_Project" each time I want to create a new project? Ultimately, I want to compile my application and dependent frameworks (WO, WOnder, and two of my own) and bundle them together for deployment. I'm considering a war file so I don't have to deal with installation or version issues on the server. I want simple and reliable. I also need to replicate this process on a dedicated build server once I have verified everything works. My source repository is in Stash on another computer on the local network. I'm using my personal credentials for now. I suspect I will need to create an SSH key for the build server to talk to Stash and place it in JENKINS_HOME/.ssh. Here is the setup on my laptop. OSX:10.6.7 WO: 5.4.3 WOnder: master (5.8.x ?) Git:1.7.9.1 Jenkins:1.499 Roger ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com