Windows based Dev work issues

Who doesn't love third-party apps? Get together and talk about them here.
Post Reply
Watso4183
Posts: 2
youtube meble na wymiar Warszawa
Joined: Sat Jun 08, 2013 2:32 am

Windows based Dev work issues

Post by Watso4183 »

I'm running into issues with both the json and sh files due to working primarily in windows.
I spun up a live cd to do file editing to address eol issues. I'm probably going to end up spinning up a VM, but being that I often try and get in some work remotely (breaks at work, etc) this isn't the best option.

Has anyone else found a way around this issue?
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Windows based Dev work issues

Post by clinton.hall »

I do most of my editing from windows using WinSCP or otherwise using vi/nano via ssh.
Not sure if this is the "best" way, but it works for me.

But in general you don't want to create the files on a windows system and then try to copy them over.

That said, there are some really great coding programs (notepad ++, sublime text etc) that can make the job easier... You just need to ensure you have the correct line endings, and then set e correct permissions etc after transferring them across.

What I sometimes do is write the script in sublime text, but then do a copy all, and paste into a new file created in WinSCP....
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
meteora
Posts: 37
Joined: Wed Mar 13, 2013 2:12 pm

Re: Windows based Dev work issues

Post by meteora »

i am used to use notepad++ on windows to compose both config.json and shell scripts, and then upload it to my ubuntu vm to pack it to .apk

it works fine for me so perhaps you would wanna give it a shot.
Post Reply

Return to “Developer's Corner”