Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevTools difficulty loading Mocketry (filetree repo) #328

Closed
bencoman opened this issue May 11, 2019 · 2 comments
Closed

DevTools difficulty loading Mocketry (filetree repo) #328

bencoman opened this issue May 11, 2019 · 2 comments
Labels
review code review required

Comments

@bencoman
Copy link
Contributor

On Windows Pharo 7.0.3, evaluating...

Iceberg remoteTypeSelector: #httpsUrl.
Metacello new 
   baseline: 'Exercism'; 
   repository: 'github://exercism/pharo-smalltalk/releases/latest';
   load: { 'dev' }

produces error...

IceGenericError: Failed to stat file 'C:/Users/Ben/Documents/Pharo/images/ExercismMentor(7,32)/
pharo-local/iceberg/dionisiydk/Mocketry/Mocketry-Specs-Tests.package/SpecOfExpectedObjectSenderTests.class/
instance/testFailedValidationWhenRequiredSenderReturnedAnotherObjectAndNobodyReturnedGivenObject.st': 
The filename or extension is too long.
@bencoman
Copy link
Contributor Author

bencoman commented May 11, 2019

Until my PR is accepted upstream, workaround is...

Metacello new
  baseline: 'Mocketry';
  repository: 'github://bencoman/Mocketry';
  load

Iceberg remoteTypeSelector: #httpsUrl.
Metacello new 
 baseline: 'Exercism'; 
 repository: 'github://exercism/pharo-smalltalk/releases/latest';
 load: { 'dev' }.

and when it complains about a conflict for Mocketry, make this edit and repeat last load.

BaselineOfExercism>>setUpDependencies
...
	spec
    	baseline: 'Mocketry'
    	with: [ spec repository: 'github://bencoman/Mocketry' ].

@macta
Copy link
Contributor

macta commented May 12, 2019

The latest release has a "mentor" load group that will leave out mocketry - not helpful for dev, but certainly for any mentors trying to load on windows (see readme.md for load script)

@bencoman bencoman added the review code review required label May 16, 2019
@macta macta closed this as completed in 75ccfc2 May 19, 2019
macta added a commit that referenced this issue May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review code review required
Projects
None yet
Development

No branches or pull requests

2 participants