← Back to team overview

coapp-developers team mailing list archive

Re: shallow forking feedback

 

Hey Andreas,

I've corrected the bug for finding the SDK automatically (I've checked the Registry as well now).  As for Git, if it's not installed to %ProgramFiles% then, yeah, adding it to the path is the only option (although, you can do that just once from the console window, and it'll remember it for next time).

I've also made sure that the spaces in the directory name should be ok.

And, it does a change drive in generated batch scripts now too.

As for why it was getting "c:\users\Andreas... " as part of the path, I'm wondering if the %tmp% or %TEMP% environment variables is set to c:\users... instead.

If this version still does that, I suspect that the .NET API for GetTempFileName() has a bug when the user folder has been moved-it *should* have followed that.

Grab the latest snapshot of the tools here: http://coappstorage.blob.core.windows.net/files/coapp-tools-snapshot.zip

G

From: coapp-developers-bounces+garretts=microsoft.com@xxxxxxxxxxxxxxxxxxx [mailto:coapp-developers-bounces+garretts=microsoft.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Andreas Schiffler
Sent: Sunday, June 05, 2011 9:22 PM
To: Rafael Rivera
Cc: coapp-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Coapp-developers] shallow forking feedback

I have a system install on a smallish SSD drive as C: but all software is installed to the largish standard HD as E: ... so the search scheme of ptk won't work in that case. It is probably better to also check the registry and find the actual installation path of the tools.

As for C:\Users and E:\Users, the user folders was also initially on C: but I copied its relocatable content over to E: and then relinked these folders using the "Location" tab of their Properties (i.e. see here for this method: http://www.w7forums.com/change-location-my-documents-folder-t338.html). Again the ptk target directory scheme may not take that into account.

As mentioned below, my clean-command section only contains one line:
    attrib -S -H -R *

Thanks,
Andreas

On 6/5/11 8:13 PM, Rafael Rivera wrote:
Also, setting the path isn't necessary. ptk will search for git and other tools in the following directories:

%ProgramFiles(x86)%
%ProgramFiles%
%ProgramW6432%
%SystemRoot%\Microsoft.NET

Why is there an E:\Users and a C:\Users?

/rafael

On 6/5/2011 5:51 PM, Andreas Schiffler wrote:
I tried a shallow-fork SDL this weekend as per http://coapp.org/shallow-forking and have some feedback:

To get ptk going and as VS and TortoiseGit user, I needed to manually add the path to Git\bin as well as the path to Windows SDK\bin to the global %PATH% environment variable. Maybe that could be added to the instructions.

Then I got stuck on step 7. with an error:

E:\Users\Andreas Schiffler\Desktop\GIT\SDL>ptk clean
CoApp Project pTk Version 1.0.2.906 for x64
Copyright (c) Garrett Serack, CoApp Contributors 2010-2011. All rights reserved
CoApp portingToolkit for porting apps
-------------------------------------------------------------------------------
'C:\Users\Andreas' is not recognized as an internal or external command,
operable program or batch file.
Project Cleaned.

My clean-command section only contains
    attrib -S -H -R *
at the moment, so the actual command should not be the cause for this error.

I could do the obvious  - move GIT folder to C:\ - but wanted to ask if there a config setting I am missing or if is this a bug?

Thanks,
--Andreas





_______________________________________________

Mailing list: https://launchpad.net/~coapp-developers<https://launchpad.net/%7Ecoapp-developers>

Post to     : coapp-developers@xxxxxxxxxxxxxxxxxxx<mailto:coapp-developers@xxxxxxxxxxxxxxxxxxx>

Unsubscribe : https://launchpad.net/~coapp-developers<https://launchpad.net/%7Ecoapp-developers>

More help   : https://help.launchpad.net/ListHelp





_______________________________________________

Mailing list: https://launchpad.net/~coapp-developers

Post to     : coapp-developers@xxxxxxxxxxxxxxxxxxx<mailto:coapp-developers@xxxxxxxxxxxxxxxxxxx>

Unsubscribe : https://launchpad.net/~coapp-developers

More help   : https://help.launchpad.net/ListHelp


Follow ups

References