Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Cucumber-jvm failing on Build
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Konstantinos Papalias  
View profile  
 More options Aug 18 2011, 1:20 pm
From: Konstantinos Papalias <pkwnstanti...@gmail.com>
Date: Thu, 18 Aug 2011 10:20:19 -0700 (PDT)
Local: Thurs, Aug 18 2011 1:20 pm
Subject: Cucumber-jvm failing on Build

Not sure if it's only me having this issue but while trying to build
cucumber-jvm with:

mvn clean install

it does fail in core project on ClasspathTest.

I'm attaching the generated errors for your convenience.

  cucumber.runtime.ClasspathTest.txt
8K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
aslak hellesoy  
View profile  
 More options Aug 18 2011, 1:23 pm
From: aslak hellesoy <aslak.helle...@gmail.com>
Date: Thu, 18 Aug 2011 18:23:42 +0100
Local: Thurs, Aug 18 2011 1:23 pm
Subject: Re: [Cucumber:8734] Cucumber-jvm failing on Build
On Thu, Aug 18, 2011 at 6:20 PM, Konstantinos Papalias

<pkwnstanti...@gmail.com> wrote:
> Not sure if it's only me having this issue but while trying to build
> cucumber-jvm with:
> mvn clean install
> it does fail in core project on ClasspathTest.
> I'm attaching the generated errors for your convenience.

Windows?

Works fine for me on OS X and Ubuntu.

Aslak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aslak Hellesøy  
View profile  
 More options Aug 18 2011, 1:43 pm
From: Aslak Hellesøy <aslak.helle...@gmail.com>
Date: Thu, 18 Aug 2011 18:43:05 +0100
Local: Thurs, Aug 18 2011 1:43 pm
Subject: Re: [Cucumber:8734] Cucumber-jvm failing on Build
On Aug 18, 2011, at 18:23, aslak hellesoy <aslak.helle...@gmail.com> wrote:

> On Thu, Aug 18, 2011 at 6:20 PM, Konstantinos Papalias
> <pkwnstanti...@gmail.com> wrote:
>> Not sure if it's only me having this issue but while trying to build
>> cucumber-jvm with:
>> mvn clean install
>> it does fail in core project on ClasspathTest.
>> I'm attaching the generated errors for your convenience.

> Windows?

Should be easy to fix for Windows, just need to use backslashes in a few places.

Want to try fixing it?

Aslak.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
arti singh  
View profile  
 More options Aug 19 2011, 6:54 am
From: arti singh <arti.p.si...@gmail.com>
Date: Fri, 19 Aug 2011 06:54:41 -0400
Local: Fri, Aug 19 2011 6:54 am
Subject: Re: [Cucumber:8734] Cucumber-jvm failing on Build

I tried to build cucumber-jvm on Windows 7  and it failed on Java Core while
running the classpath test. I will modify the test and see if I can get the
build to pass.

On Thu, Aug 18, 2011 at 1:20 PM, Konstantinos Papalias <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
aslak hellesoy  
View profile  
 More options Aug 19 2011, 7:25 am
From: aslak hellesoy <aslak.helle...@gmail.com>
Date: Fri, 19 Aug 2011 12:25:08 +0100
Local: Fri, Aug 19 2011 7:25 am
Subject: Re: [Cucumber:8767] Cucumber-jvm failing on Build

On Fri, Aug 19, 2011 at 11:54 AM, arti singh <arti.p.si...@gmail.com> wrote:
> I tried to build cucumber-jvm on Windows 7  and it failed on Java Core while
> running the classpath test. I will modify the test and see if I can get the
> build to pass.

Changing a test to make it pass is usually equivalent to sweeping dirt
under a carpet. It doesn't fix a problem, it just gives the illusion
of fixing it.

To make things work you'll have to make changes to Classpath.java so
it works on Windows. Maybe using File.PATH_SEPARATOR instead of "/" in
a few places will do the trick.

Aslak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Konstantinos Papalias  
View profile  
 More options Aug 19 2011, 8:28 am
From: Konstantinos Papalias <pkwnstanti...@gmail.com>
Date: Fri, 19 Aug 2011 05:28:50 -0700 (PDT)
Local: Fri, Aug 19 2011 8:28 am
Subject: Re: [Cucumber:8734] Cucumber-jvm failing on Build

Hi Aslak,

Yes, I am using Windows to build the project, but I feel the project would
benefit by being OS independent.

Even if I manually fix the test-case for windows the first test will still
fail with:

  looksUpInstantiableSubclassesOnClassPath(cucumber.runtime.ClasspathTest):
expected:<[class cucumber.runtime.ClasspathTest$Wilma, class
cucumber.runtime.ClasspathTest$Fred]> but was:<[]>

By looking at the Classpath.java file we would need to replace the
hard-coded forward slashes with File.separator plus all other Unix specific
path attributes.

Thanks,
konstantinos


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
arti.p.si...@gmail.com  
View profile  
 More options Aug 19 2011, 8:32 am
From: arti.p.si...@gmail.com
Date: Fri, 19 Aug 2011 12:32:26 +0000
Local: Fri, Aug 19 2011 8:32 am
Subject: Re: [Cucumber:8771] Cucumber-jvm failing on Build

I got the same error also  after  I fixed the classpath in Classpath.java.

Sent from my BlackBerry device on the Rogers Wireless Network


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
aslak hellesoy  
View profile  
 More options Aug 19 2011, 8:36 am
From: aslak hellesoy <aslak.helle...@gmail.com>
Date: Fri, 19 Aug 2011 13:36:21 +0100
Local: Fri, Aug 19 2011 8:36 am
Subject: Re: [Cucumber:8734] Cucumber-jvm failing on Build
On Fri, Aug 19, 2011 at 1:28 PM, Konstantinos Papalias

<pkwnstanti...@gmail.com> wrote:
> Hi Aslak,
> Yes, I am using Windows to build the project, but I feel the project would
> benefit by being OS independent.

Of course, that goes without saying.

> Even if I manually fix the test-case for windows the first test will still
> fail with:
>   looksUpInstantiableSubclassesOnClassPath(cucumber.runtime.ClasspathTest):
> expected:<[class cucumber.runtime.ClasspathTest$Wilma, class
> cucumber.runtime.ClasspathTest$Fred]> but was:<[]>
> By looking at the Classpath.java file we would need to replace the
> hard-coded forward slashes with File.separator plus all other Unix specific
> path attributes.

That sounds right. Please send a pull request when you have passing
tests, and I can verify that tests still pass on OS X/Linux.

Aslak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »