Getting atlas setup on my machine

7 views
Skip to first unread message

Joel Confino

unread,
Apr 15, 2012, 8:43:08 PM4/15/12
to Atlas Development and Discussion
An English teacher from California somehow ended up in Philly and
instead of talking about Shakespeare he was talking about this cool
deployment tool at a techie conference that I wandered into. I'd like
to use it, and I'm trying to get things setup locally and I could use
a few pointers. I cloned the atlas git repo, and ran 'mvn
eclipse:eclipse' to generate an Eclipse project. I pulled the project
into Eclipse and that worked fine.

I then tried running 'mvn install' but a few tests fail with
compilation errors. If I skip tests (-DskipTests) it works, but I'm
thinking broken tests may mean I'm missing something in my setup. I'm
running Java 6 on Mac (java full version "1.6.0_31-b04-414"). Also
running 'rake package' as suggested in the docs doesn't work because
no rakefile is found.

Are the tests actually broken for other people as well or is it just
my rig?

Tests in error:
testPerformHitsProvisioner(com.ning.atlas.TestActualDeployment):
Unresolved compilation problem:
Type mismatch: cannot convert from Maybe<capture#8-of ? extends
Provisioner> to Maybe<Provisioner>

testPerformHitsInitializations(com.ning.atlas.TestActualDeployment):
Unresolved compilation problem:
Type mismatch: cannot convert from Maybe<capture#8-of ? extends
Provisioner> to Maybe<Provisioner>

testPerformHitsInstalls(com.ning.atlas.TestActualDeployment):
Unresolved compilation problem:
Type mismatch: cannot convert from Maybe<capture#8-of ? extends
Provisioner> to Maybe<Provisioner>

testNormalizeDescriptor(com.ning.atlas.TestJRubyTemplateParser):
Unresolved compilation problem:
Type mismatch: cannot convert from Maybe<capture#8-of ? extends
Provisioner> to Maybe<Provisioner>

testEnvironmentWithListener(com.ning.atlas.TestJRubyTemplateParser):
Unresolved compilation problem:
Type mismatch: cannot convert from Maybe<capture#10-of ? extends
LifecycleListener> to Maybe<LifecycleListener>

Brian McCallister

unread,
Apr 15, 2012, 9:46:18 PM4/15/12
to atla...@googlegroups.com
Tests should always pass, let me take a look!

Brian McCallister

unread,
Apr 16, 2012, 11:34:26 AM4/16/12
to atla...@googlegroups.com
I haven't been able to replicate this failure. Is it a runtime casting
error or a compile error?

-Brian

Joel Confino

unread,
Apr 16, 2012, 9:56:51 PM4/16/12
to Atlas Development and Discussion
I'll give myself a big "FAIL" for not running 'mvn clean' prior to
posting that question. Not sure what I did, but cleaning fixed it.

On Apr 16, 11:34 am, Brian McCallister <bri...@skife.org> wrote:
> I haven't been able to replicate this failure. Is it a runtime casting
> error or a compile error?
>
> -Brian
>
>
>
>
>
>
>
> On Sun, Apr 15, 2012 at 7:46 PM, Brian McCallister <bri...@skife.org> wrote:
> > Tests should always pass, let me take a look!
>
Reply all
Reply to author
Forward
0 new messages