[Anthill-pro] Is it possible to use Perl scripting withinAnthillPro?

Scott Leon Scott.Leon at mathworks.com
Tue Apr 29 10:01:33 CDT 2008


You're correct,

While we have many Java projects that will need to be migrated to AnthillPro, I'm currently working to migrate our Ruby applications.

For our Java applications we use Ant build scripts, rather than Maven.  The plan is to use CodeStation to hold our 3rd party libraries, in addition to AnthillPro generated artifacts.

Prior to working with AnthillPro, I've mainly worked with Ant, Perl, and Unix shell languages for scripting.  For build systems, I've built them myself and also used CruiseControl.

I haven't, however, had any exposure to BeanShell or Groovy, and have only limited exposure to Java and Javascript.

The BeanShell documentation is limited and not up to date with the version implemented into AnthillPro 3.4.x.

I'm certainly willing to learn BeanShell, but I also saw that Groovy and Javascript seemed to be available.  From limited Google searches, it looks like the regex implementation for Groovy is native, but the regex implementation for BeanShell is not native, but rather inherited from Java.

Since I currently don't know much about Groovy or BeanShell, and both seem to be available for use in scripting, it would be great to get peoples opinions as to which language to use going forward in AnthillPro.  It seems that Erik's vote is for BeanShell, what do the rest of you guys think?

Also, the specific issue I'm currently looking to find a solution for is to parse the summary line of a Rake unit test call.

The summary line looks like this

"15 tests, 10 assertions, 0 failures, 0 errors"

I want to parse this line to capture the "15", "10", "0", and "0".  Then do some calculations (i.e. percentage of test failures or errors).  Then fail the build if either of these percentages is below acceptable levels.

Any ideas?

Thanks
Scott



-----Original Message-----
From: anthill-pro-bounces at caladin.urbancode.com [mailto:anthill-pro-bounces at caladin.urbancode.com] On Behalf Of emerson cargnin
Sent: Tuesday, April 29, 2008 10:36 AM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Is it possible to use Perl scripting withinAnthillPro?

He probably is not using maven to build. Or it is not even a java project.

On 29/04/2008, Yanko, Curtis <curt_yanko at uhc.com> wrote:
>
> Maven and Cobertura do a great job at this
>
> ===
> -Curt
> W: 860.702.9059
> M: 860.881.2050
>
> ________________________________
> From: anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf
> Of Scott Leon
> Sent: Tuesday, April 29, 2008 10:00 AM
> To: AnthillPro user and support list.
> Subject: RE: [Anthill-pro] Is it possible to use Perl scripting
> withinAnthillPro?
>
>
>
>
> I probably should provide some additional information.  I'm looking to write
> scripts that would allow a build to move forward conditionally (i.e. if 85%
> of unit testing passes), and Perl has a great Regex implementation.
>
>
>
> Thanks
>
> Scott
>
>
> ________________________________
>
>
> From: anthill-pro-bounces at caladin.urbancode.com
> [mailto:anthill-pro-bounces at caladin.urbancode.com] On
> Behalf Of Scott Leon
> Sent: Tuesday, April 29, 2008 9:51 AM
> To: anthill-pro at caladin.urbancode.com
> Subject: [Anthill-pro] Is it possible to use Perl scripting within
> AnthillPro?
>
>
>
> I don't have a background in Java, BeanShell, or Groovy, and haven't used
> Javascript in years.  I do, however, have a decent level of experience with
> Perl.  I'm just curious, before I dive into another language, if it's
> possible to script in Perl within AnthillPro.
>
>
>
> Thanks
>
> Scott
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro


More information about the Anthill-pro mailing list