Ruby and CruiseControl

View: New views
18 Messages — Rating Filter:   Alert me  

Ruby and CruiseControl

by Ed Summers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So I saw some talk way back when about a RakeBuilder for  
CruiseControl...but I don't see any established way of integrating CC  
with Ruby.  I can schedule an <exec> just fine, and can see when  
builds fail using the return code...but I'd like to be able to see  
which tests failed etc...

Has anyone cooked up something for CC that groks test/unit output? If  
not does anyone have an opinion about how fruitful/easy it would be  
to create one?

//Ed

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Johan Nilsson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Edward Summers wrote:
> So I saw some talk way back when about a RakeBuilder for
> CruiseControl...but I don't see any established way of integrating CC
> with Ruby.  I can schedule an <exec> just fine, and can see when
> builds fail using the return code...but I'd like to be able to see
> which tests failed etc...
>
> Has anyone cooked up something for CC that groks test/unit output? If
> not does anyone have an opinion about how fruitful/easy it would be
> to create one?

I guess you could implement your own xml output testrunner, and merge the
output to the log. I think there's already an xml testrunner but I'd guess
the format's not junit compatible (is the junit format actually documented
somewhere?).

We're in the middle of testing/implementing a transforming log merger
plug-in, accepting an XSLT file as argument, for similar reasons to yours.
Can't release the source though.

Good luck!

// Johan



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using an exec task, like you - except that I check for a string
instead of the return code (I wasn't sure if I could always count on a
non-zero return code when rake failed):

  <target name="rails" unless="skip.rails">
    <echo message="Running rails tests via rake ci task..."/>
    <exec dir="checkout/${project.name}"
          executable="rake"
          output="checkout/${project.name}/log/rake-output.log"
                outputproperty="rake.build.output"
          >
      <arg line="ci"/>
    </exec>

    <!-- check for error string 'rake aborted', and fail build if it
is found -->
    <fail message="Rake failed, because 'rake aborted' string was
found in build output">
      <condition>
        <contains string="${build.output}" substring="rake aborted"
casesensitive="false"/>
      </condition>
    </fail>

    <echo message="Rails tests via rake ci task completed successfully
(no string 'rake aborted' found)"/>
  </target>


Then, I use the build artifact publisher in config.xml to copy all the
logs to the CruiseControl log dir - including the rake-output.log
created above:

        <publishers>
            <artifactspublisher dir="checkout/${project.name}/log"
              dest="artifacts/${project.name}" />
        </publishers>

This allows users to click the "Build Artifacts" link on the "Build
Results" tab to see the rake log, which says what passed or failed.  I
also use this same approach for our other types of tests.

Kind of a hack, but it's working for now :)  Let me know if you figure
out something cleaner.

-- Chad


On 6/26/06, Edward Summers <ehs@...> wrote:

> So I saw some talk way back when about a RakeBuilder for
> CruiseControl...but I don't see any established way of integrating CC
> with Ruby.  I can schedule an <exec> just fine, and can see when
> builds fail using the return code...but I'd like to be able to see
> which tests failed etc...
>
> Has anyone cooked up something for CC that groks test/unit output? If
> not does anyone have an opinion about how fruitful/easy it would be
> to create one?
>
> //Ed

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Jeffrey Fredrick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 6/27/06, Johan Nilsson <r.johan.nilsson@...> wrote:

> Edward Summers wrote:
> > So I saw some talk way back when about a RakeBuilder for
> > CruiseControl...but I don't see any established way of integrating CC
> > with Ruby.  I can schedule an <exec> just fine, and can see when
> > builds fail using the return code...but I'd like to be able to see
> > which tests failed etc...
> >
> > Has anyone cooked up something for CC that groks test/unit output? If
> > not does anyone have an opinion about how fruitful/easy it would be
> > to create one?
>
> I guess you could implement your own xml output testrunner, and merge the
> output to the log. I think there's already an xml testrunner but I'd guess
> the format's not junit compatible (is the junit format actually documented
> somewhere?).
>
> We're in the middle of testing/implementing a transforming log merger
> plug-in, accepting an XSLT file as argument, for similar reasons to yours.
> Can't release the source though.

output doesn't need to fully match the ant output, only the parts that
CC's unittests.xsl uses. as long as you can get a file w/the test
output from ruby (xml or even plain text) should be easy to write
something to convert it into the appropriate file format and then
merge.  I even did this at one point for WinRunner -- wrote a custom
ant task to convert their plain text output into an xml file.

wrt the xslt why not just use the ant xslt and then merge the transformed file?

Jtf


--

http://www.developertesting.com/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Johan Nilsson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeffrey Fredrick wrote:

> On 6/27/06, Johan Nilsson <r.johan.nilsson@...> wrote:
>> Edward Summers wrote:
>>> So I saw some talk way back when about a RakeBuilder for
>>> CruiseControl...but I don't see any established way of integrating
>>> CC with Ruby.  I can schedule an <exec> just fine, and can see when
>>> builds fail using the return code...but I'd like to be able to see
>>> which tests failed etc...
>>>
>>> Has anyone cooked up something for CC that groks test/unit output?
>>> If not does anyone have an opinion about how fruitful/easy it would
>>> be to create one?
>>
>> I guess you could implement your own xml output testrunner, and
>> merge the output to the log. I think there's already an xml
>> testrunner but I'd guess the format's not junit compatible (is the
>> junit format actually documented somewhere?).
>>
>> We're in the middle of testing/implementing a transforming log merger
>> plug-in, accepting an XSLT file as argument, for similar reasons to
>> yours. Can't release the source though.
>
> output doesn't need to fully match the ant output, only the parts that
> CC's unittests.xsl uses. as long as you can get a file w/the test
> output from ruby (xml or even plain text) should be easy to write
> something to convert it into the appropriate file format and then
> merge.  I even did this at one point for WinRunner -- wrote a custom
> ant task to convert their plain text output into an xml file.

There's also testdetails.xsl. Same requirements as for unittests.xsl?

>
> wrt the xslt why not just use the ant xslt and then merge the
> transformed file?

<grin>Because I'm a C++ programmer and don't know ant?</grin> Does the xslt
task take a dir and/or wildcard specification for the input files/output
dir?

I'd be happy for a simple example on how to configure CC for the ant xslt
transformation. Do I only need the CC distribution, or would I also need a
separate ant installation? I'm using CC 2.4.1.

Thanks // Johan



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd also be interested in some tips or links on how to use the ant
xslt to format non-junit test output...

On 6/29/06, Johan Nilsson <r.johan.nilsson@...> wrote:

> Jeffrey Fredrick wrote:
> > On 6/27/06, Johan Nilsson <r.johan.nilsson@...> wrote:
> >> Edward Summers wrote:
> >>> So I saw some talk way back when about a RakeBuilder for
> >>> CruiseControl...but I don't see any established way of integrating
> >>> CC with Ruby.  I can schedule an <exec> just fine, and can see when
> >>> builds fail using the return code...but I'd like to be able to see
> >>> which tests failed etc...
> >>>
> >>> Has anyone cooked up something for CC that groks test/unit output?
> >>> If not does anyone have an opinion about how fruitful/easy it would
> >>> be to create one?
> >>
> >> I guess you could implement your own xml output testrunner, and
> >> merge the output to the log. I think there's already an xml
> >> testrunner but I'd guess the format's not junit compatible (is the
> >> junit format actually documented somewhere?).
> >>
> >> We're in the middle of testing/implementing a transforming log merger
> >> plug-in, accepting an XSLT file as argument, for similar reasons to
> >> yours. Can't release the source though.
> >
> > output doesn't need to fully match the ant output, only the parts that
> > CC's unittests.xsl uses. as long as you can get a file w/the test
> > output from ruby (xml or even plain text) should be easy to write
> > something to convert it into the appropriate file format and then
> > merge.  I even did this at one point for WinRunner -- wrote a custom
> > ant task to convert their plain text output into an xml file.
>
> There's also testdetails.xsl. Same requirements as for unittests.xsl?
>
> >
> > wrt the xslt why not just use the ant xslt and then merge the
> > transformed file?
>
> <grin>Because I'm a C++ programmer and don't know ant?</grin> Does the xslt
> task take a dir and/or wildcard specification for the input files/output
> dir?
>
> I'd be happy for a simple example on how to configure CC for the ant xslt
> transformation. Do I only need the CC distribution, or would I also need a
> separate ant installation? I'm using CC 2.4.1.
>
> Thanks // Johan
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Cruisecontrol-user mailing list
> Cruisecontrol-user@...
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Jeffrey Fredrick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 6/29/06, Johan Nilsson <r.johan.nilsson@...> wrote:

> Jeffrey Fredrick wrote:
> > On 6/27/06, Johan Nilsson <r.johan.nilsson@...> wrote:
> >> Edward Summers wrote:
> >>> So I saw some talk way back when about a RakeBuilder for
> >>> CruiseControl...but I don't see any established way of integrating
> >>> CC with Ruby.  I can schedule an <exec> just fine, and can see when
> >>> builds fail using the return code...but I'd like to be able to see
> >>> which tests failed etc...
> >>>
> >>> Has anyone cooked up something for CC that groks test/unit output?
> >>> If not does anyone have an opinion about how fruitful/easy it would
> >>> be to create one?
> >>
> >> I guess you could implement your own xml output testrunner, and
> >> merge the output to the log. I think there's already an xml
> >> testrunner but I'd guess the format's not junit compatible (is the
> >> junit format actually documented somewhere?).
> >>
> >> We're in the middle of testing/implementing a transforming log merger
> >> plug-in, accepting an XSLT file as argument, for similar reasons to
> >> yours. Can't release the source though.
> >
> > output doesn't need to fully match the ant output, only the parts that
> > CC's unittests.xsl uses. as long as you can get a file w/the test
> > output from ruby (xml or even plain text) should be easy to write
> > something to convert it into the appropriate file format and then
> > merge.  I even did this at one point for WinRunner -- wrote a custom
> > ant task to convert their plain text output into an xml file.
>
> There's also testdetails.xsl. Same requirements as for unittests.xsl?

I think testdetails wants a bit more info. but that xsl is used by the
test details tab and you might choose to just ignore it to start with
-- the info on failing tests is more important than the detail info
(imho).


> >
> > wrt the xslt why not just use the ant xslt and then merge the
> > transformed file?
>
> <grin>Because I'm a C++ programmer and don't know ant?</grin>


ah!  I thought you were doing your exec from ant!  :)

you might try using antbuild to do the exec and then run the xslt task
on the output.

> Does the xslt
> task take a dir and/or wildcard specification for the input files/output
> dir?
> I'd be happy for a simple example on how to configure CC for the ant xslt
> transformation. Do I only need the CC distribution, or would I also need a
> separate ant installation? I'm using CC 2.4.1.

here's the doc on the xslt task w/examples at the bottom of the page.

http://ant.apache.org/manual/CoreTasks/style.html

you should be able to use the ant that ships w/the CC distribution.

Jtf

--

http://www.developertesting.com/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Johan Nilsson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeffrey Fredrick wrote:
> On 6/29/06, Johan Nilsson <r.johan.nilsson@...> wrote:
>> Jeffrey Fredrick wrote:

[snip]

>>>
>>> wrt the xslt why not just use the ant xslt and then merge the
>>> transformed file?
>>
>> <grin>Because I'm a C++ programmer and don't know ant?</grin>
>
>
> ah!  I thought you were doing your exec from ant!  :)
>
> you might try using antbuild to do the exec and then run the xslt task
> on the output.

Maybe it's just me, but wouldn't it be nice to be able to define an 'inline'
antbuilder task - e.g. contain ant <project> tags directly within the CC
config.xml file?

<schedule ...>
    <ant type="inline">
        <project ...>
            <exec .../>
            <xslt .../>
        </project>
    </ant>
</schedule>

As I said, I don't know ant (besides what I've just tested with the xslt
task), so this might not make much sense.

[snip rest]

// Johan



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Jeffrey Fredrick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think that would make sense for a very limited audience.... Very
limited.  Like just you.  :)

For most people they're going to use the same ant build script outside
of CC so to have it inside of CC's config.xml isn't very desireable.
Then too you lose the advantage you get from editors that know how to
put together ant build files (IDEA and Eclipse come to mind). Finally
most build scripts are quite a bit more complicated and you wouldn't
want to have all that logic mixed in w/the CC configuration.

So I can see why it would be perfect for you but I'm afraid I don't
see it being very useful generally.

Jtf

On 7/4/06, Johan Nilsson <r.johan.nilsson@...> wrote:

>
> Maybe it's just me, but wouldn't it be nice to be able to define an 'inline'
> antbuilder task - e.g. contain ant <project> tags directly within the CC
> config.xml file?
>
> <schedule ...>
>     <ant type="inline">
>         <project ...>
>             <exec .../>
>             <xslt .../>
>         </project>
>     </ant>
> </schedule>
>
> As I said, I don't know ant (besides what I've just tested with the xslt
> task), so this might not make much sense.
>
> [snip rest]
>
> // Johan

--

http://www.developertesting.com/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Johan Nilsson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeffrey Fredrick wrote:
> I think that would make sense for a very limited audience.... Very
> limited.  Like just you.  :)

Well, it can hardly be much more limited than that ...

>
> For most people they're going to use the same ant build script outside
> of CC so to have it inside of CC's config.xml isn't very desireable.
> Then too you lose the advantage you get from editors that know how to
> put together ant build files (IDEA and Eclipse come to mind). Finally
> most build scripts are quite a bit more complicated and you wouldn't
> want to have all that logic mixed in w/the CC configuration.

Ok. The "problem" for me as that I'm already using a non-ant based build
system for my projects, which handles the dependency stuff etc all by itself
... so I don't have any ant scripts (and don't want to create them unless I
really, _really_ have to).

Thanks anyway for your replies.

// Johan



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Jeffrey Fredrick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

why not just invoke command-line xslt from your existing build script/system?

Jtf

On 7/4/06, Johan Nilsson <r.johan.nilsson@...> wrote:
>
> Ok. The "problem" for me as that I'm already using a non-ant based build
> system for my projects, which handles the dependency stuff etc all by itself
> ... so I don't have any ant scripts (and don't want to create them unless I
> really, _really_ have to).
>

--

http://www.developertesting.com/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Johan Nilsson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeffrey Fredrick wrote:
> why not just invoke command-line xslt from your existing build
> script/system?

The project and build system are cross-platform, and installing portable
xslt tools seems like too much of a task.

But that's just working time - what troubles me more is that it just doesn't
feel right to adjust my normal build scripts for CC "compliance". Wrong
direction of dependencies, sort of ... I normally run the tests as part of
my compile command, and only need to know which tests failed, and the
location of the failure(s).

That is, I'd like my existing build system to stay independent of CC. Being
able to generate XML output is one thing, adjusting to a specific format is
a different beast (within the build system).

// Johan



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I assume you are talking about rake, which I'm using as well.  I don't
really have to modify my rake scripts to work with CC.  I just write
ant "adapter" scripts which handle the translation between
cruisecontrol and rake.  There's a lot of ugly "<condition>" stuff in
them, but it's just glue code.  Since all our projects are pretty
standardized in terms of build, scm location, and naming, I only have
a single ant script which I parameterize with properties (like
project.name) passed from the CC config.xml, so it's not that bad.

-- Chad

On 7/6/06, Johan Nilsson <r.johan.nilsson@...> wrote:

> Jeffrey Fredrick wrote:
> > why not just invoke command-line xslt from your existing build
> > script/system?
>
> The project and build system are cross-platform, and installing portable
> xslt tools seems like too much of a task.
>
> But that's just working time - what troubles me more is that it just doesn't
> feel right to adjust my normal build scripts for CC "compliance". Wrong
> direction of dependencies, sort of ... I normally run the tests as part of
> my compile command, and only need to know which tests failed, and the
> location of the failure(s).
>
> That is, I'd like my existing build system to stay independent of CC. Being
> able to generate XML output is one thing, adjusting to a specific format is
> a different beast (within the build system).
>
> // Johan

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Jeffrey Fredrick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

you think those adapter scripts might be reusable?  perhaps something
for the wiki?

Jtf

On 7/7/06, Chad Woolley <thewoolleyman@...> wrote:

> I assume you are talking about rake, which I'm using as well.  I don't
> really have to modify my rake scripts to work with CC.  I just write
> ant "adapter" scripts which handle the translation between
> cruisecontrol and rake.  There's a lot of ugly "<condition>" stuff in
> them, but it's just glue code.  Since all our projects are pretty
> standardized in terms of build, scm location, and naming, I only have
> a single ant script which I parameterize with properties (like
> project.name) passed from the CC config.xml, so it's not that bad.
>
> -- Chad
>

--

http://www.developertesting.com/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, the ones I have are working pretty well, but I think they could
still use some improvement, I'm still tweaking them.  I'm using XML
entities and properties heavily, and have only 3 config files and one
property file to manage several different projects.  I'm not using
plugins yet, though, so I think I could clean it up even more.  Once
it's all stable and nice I'll think about writing something up.

I'd be glad to send you what I currently have off-list though.

-- Chad

On 7/7/06, Jeffrey Fredrick <jeffrey.fredrick@...> wrote:

> you think those adapter scripts might be reusable?  perhaps something
> for the wiki?
>
> Jtf
>
> On 7/7/06, Chad Woolley <thewoolleyman@...> wrote:
> > I assume you are talking about rake, which I'm using as well.  I don't
> > really have to modify my rake scripts to work with CC.  I just write
> > ant "adapter" scripts which handle the translation between
> > cruisecontrol and rake.  There's a lot of ugly "<condition>" stuff in
> > them, but it's just glue code.  Since all our projects are pretty
> > standardized in terms of build, scm location, and naming, I only have
> > a single ant script which I parameterize with properties (like
> > project.name) passed from the CC config.xml, so it's not that bad.
> >
> > -- Chad
> >
>
> --
>
> http://www.developertesting.com/
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Cruisecontrol-user mailing list
> Cruisecontrol-user@...
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Jeffrey Fredrick-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd love to get them offlist...  though only so I can post them to the
wiki as is.  ;)

in my years of working on CC I have come to agree "the perfect is the
enemy of the good" and it is usually better to go with something
imperfect now rather then something better in an uncertain future.
but that's just me...

Jtf

On 7/7/06, Chad Woolley <thewoolleyman@...> wrote:

> Yeah, the ones I have are working pretty well, but I think they could
> still use some improvement, I'm still tweaking them.  I'm using XML
> entities and properties heavily, and have only 3 config files and one
> property file to manage several different projects.  I'm not using
> plugins yet, though, so I think I could clean it up even more.  Once
> it's all stable and nice I'll think about writing something up.
>
> I'd be glad to send you what I currently have off-list though.
>
> -- Chad
>

--

http://www.developertesting.com/

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Jared Richardson-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Besides, if you post your imperfect but working scripts, it's quite  
likely that someone else will improve them... and then you'll get a  
better set of scripts to use yourself.... :)

Jared
http://jaredrichardson.net


On Jul 7, 2006, at 8:57 PM, Jeffrey Fredrick wrote:

> I'd love to get them offlist...  though only so I can post them to the
> wiki as is.  ;)
>
> in my years of working on CC I have come to agree "the perfect is the
> enemy of the good" and it is usually better to go with something
> imperfect now rather then something better in an uncertain future.
> but that's just me...
>
> Jtf
>
> On 7/7/06, Chad Woolley <thewoolleyman@...> wrote:
>> Yeah, the ones I have are working pretty well, but I think they could
>> still use some improvement, I'm still tweaking them.  I'm using XML
>> entities and properties heavily, and have only 3 config files and one
>> property file to manage several different projects.  I'm not using
>> plugins yet, though, so I think I could clean it up even more.  Once
>> it's all stable and nice I'll think about writing something up.
>>
>> I'd be glad to send you what I currently have off-list though.
>>
>> -- Chad
>>
>
> --
>
> http://www.developertesting.com/
>
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Cruisecontrol-user mailing list
> Cruisecontrol-user@...
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Ruby and CruiseControl

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just got my wiki account.  I'll try to get something up soon.  I'm
currently not using plugins, and I think I can get a little cleaner.
Then it will be good enough, if not perfect. :)  I can always refator
the Wiki along with my code.  I like documentation, especially if it's
up-to-date.

Any suggestions on where to put it?  It would go under the Build Loop
category, but what I have is really an amalgam of stuff I got from
ConfiguringCruiseControl, ConfigFiles, and BuildFiles, with some extra
tweaks of my own.  I guess the main distinguishing factor of my setup
is that I have all non-java projects.  Any objections to me making a
new topic page under BuildLoop with some general examples from my
setup?

-- Chad

On 7/8/06, Jared Richardson <lists-jared@...> wrote:

> Besides, if you post your imperfect but working scripts, it's quite
> likely that someone else will improve them... and then you'll get a
> better set of scripts to use yourself.... :)
>
> Jared
> http://jaredrichardson.net
>
>
> On Jul 7, 2006, at 8:57 PM, Jeffrey Fredrick wrote:
>
> > I'd love to get them offlist...  though only so I can post them to the
> > wiki as is.  ;)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user