seems thats the only option I have, I think it would be much neater if there was a plug-in or the existence qmakebuilder plug-in could have been modified or had more option. However, at the end of the day, the important thing is if your jobs can be compiled, no matter how. Thank you Jon for your advice.
On Tuesday, October 23, 2012 4:59:08 AM UTC+3:30, Jon Schewe wrote: > > I build Qt based projects in Jenkins as well as non-Qt based projects. I'm > primarily unix based and have found that the best way to get all of the > builds working is to do everything from shell scripts that call make, which > then calls qmake to build Makefiles and then make to build the code. I'm > using msys on Windows to execute the shell scripts and the x-shell plugin > to make my cross-platform builds all use the same scripts to fire > everything off. This actually works quite well. > > On Mon, Oct 22, 2012 at 3:12 AM, mrz <rash...@gmail.com <javascript:>>wrote: > >> On a different note, I am trying to resolve dependencies my project has >> to other external/internal projects. can you give me some hints on this? >> >> To be specific, I have a SVN repository which contains project A, and >> project B both written using Qt. >> Project A is independent, project B is dependent to project a and some >> external library. >> When running on my machine, I set the LD_LIBRARY_PATH to project A .so >> (and any other .so file required) file to compile project B). >> >> I have SVN plug-in for Jenkins now, and I checke out the project. >> Obviously, project A will be compiled with no error, while in project B >> compilation I get error indicating some file cannot be found due to the >> dependency. >> >> I am looking forward to overcome this In JEnkins using another plug-in in >> or customizing qmake Plug-in some how.... >> >> >> On Monday, October 22, 2012 10:40:52 AM UTC+3:30, mrz wrote: >>> >>> I successfully installed the qmakebuilder plug-in into my Jenkins by >>> adding the .hpi file that i got from compiling the code with JDK 6 and it >>> seems to work smoothly for me. >>> I believe the .hpi file Richard has compiled should work just fine as >>> well. >>> Thank you once again. >>> >>> >>> On Saturday, October 20, 2012 5:57:58 PM UTC+3:30, mrz wrote: >>>> >>>> >>>> >>>> On Saturday, October 20, 2012 5:09:29 PM UTC+3:30, Richard Mortimer >>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> On 20/10/2012 13:45, Richard Mortimer wrote: >>>>> > The plugin is already in the jenkins build environment. I suspect it >>>>> > needs someone to give it a little care and maybe take ownership of >>>>> it if >>>>> > it still serves a useful purpose. >>>>> > >>>>> > https://wiki.jenkins-ci.org/**display/JENKINS/qmakebuilder+**Plugin<https://wiki.jenkins-ci.org/display/JENKINS/qmakebuilder+Plugin> >>>>> > >>>>> > https://github.com/jenkinsci/**qmakebuilder-plugin<https://github.com/jenkinsci/qmakebuilder-plugin> >>>>> > >>>>> > https://jenkins.ci.cloudbees.**com/job/plugins/job/** >>>>> qmakebuilder-plugin/<https://jenkins.ci.cloudbees.com/job/plugins/job/qmakebuilder-plugin/> >>>>> >>>>> > >>>>> > It looks like it has been updated to a recent version of the Jenkins >>>>> > maven pom so you may have more luck building from the jenkins >>>>> source. >>>>> > >>>>> Looks like it does not build with OpenJDK7 at the moment due to >>>>> reliance >>>>> on Sun internal code in the Hudson/Jenkins test framework. Builds fine >>>>> with java 6 and that should work on a java 7 runtime. >>>>> >>>> Yes, I managed to compiled the source code with JDK 6 and generate the >>>> hpi file in target foler... worked just fine. >>>> >>>>> >>>>> There is a freshly built hpi file at >>>>> https://jenkins.ci.cloudbees.**com/job/plugins/job/** >>>>> qmakebuilder-plugin/1/hudson.**plugins.qmake$qmakebuilder/<https://jenkins.ci.cloudbees.com/job/plugins/job/qmakebuilder-plugin/1/hudson.plugins.qmake$qmakebuilder/> >>>>> >>>>> >>>>> Give that a try and report back how you get on. >>>>> >>>> sure thing... I’ll try them both. >>>> >>>>> >>>>> Regards >>>>> >>>>> Thank you everybody. >>>> >>>>> Richard >>>>> >>>> > > > -- > Jon Schewe | http://mtu.net/~jpschewe > > >