-
Notifications
You must be signed in to change notification settings - Fork 1
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
fileout package creates two files and an extra extension .gs.gs #260
Comments
#262 - set current walkback scenario fixed - JfP wasn't clearing commandArgs. #260 - strip .gs extension prevents .gs.gs extension problem. Tests for both added. Additional service class tests added. Renamed test class. Fix for #test_importConnection. connectionProfile singleton was being replaced in the code but test still looked at old instance. Removed unsent method. #262 #260
.gs stripped in package fileout now. Rowan fix needed for extra file problem. |
Strip .gs extension in package fileout GemTalk/JadeiteForPharo#260
This turns out to be an issue with The solution is to perform the | rwProject filePath packageName projectName massagedFilePath fileRef |
projectName := 'Rowan'.
packageName := 'Rowan-Tools-OnlyV2'.
filePath := '/bosch1/users/dhenrich/_stones/37x/f_37x_externals_st/', packageName.
filePath := '/bosch1/users/dhenrich/_stones/37x/f_37x_externals_st/', packageName, '.gs'.
rwProject := (RowanProjectService new name: projectName) rwProject.
fileRef := filePath asFileReference.
massagedFilePath := filePath asFileReference extension = 'gs'
ifTrue: [ fileRef withoutExtension pathString ]
ifFalse: [ fileRef pathString ] .
(massagedFilePath, '.gs') asFileReference isWritable
ifFalse: [ ^ self warn: 'File is not writable. Permissions problem?' ].
rwProject
exportTopazFormatTo: massagedFilePath
logClassCreation: false
excludeClassInitializers: false
excludeRemoveAllMethods: false
usingPackageNamesMap:
(Dictionary new
at: massagedFilePath put: {packageName};
yourself)
|
Dale discovered isWriteable was creatin the extra file. Now send isWriteable to the massaged file. GemTalk/JadeiteForPharo#260
Should be fixed using Dale's recommendation. |
@LisaAlmarode reports:
@dalehenrich has a proposed fix by conditionalizing the code in JfP
Fix needs to happen in RCS method:
RowanPackageService>>exportTopazFormatTo:
The text was updated successfully, but these errors were encountered: