Okay... I'm running into a problem with Eclipse Portable and I've thought for days about work-arounds but came up with none.
This is what happens...
Eclipse Portable launches with RunLocally function.
App is copied to System.
App is launched.
Now here's where the problem starts...
if the user changes workspace... at the current moment, eclipse.exe will close and start-up again, but the problem is that EclipsePortable.exe DELETE'S THE APP DIR!!!
Please suggest an idea, I'm stuck.
Thanks.
You need to add a loop to wait and check for it. Check out the loop in Firefox Portable's launcher after the ExecWait that does the exact same thing. It should do the same thing for a run from the drive if the launcher needs to stick around and do something when it exits.
Sometimes, the impossible can become possible, if you're awesome!
Thanks
Chris suggested looking at the Firefox Portable source... but I didn't really understand it and didn't really know what I was looking for.
[Edit: Wait... I just looked at the source, it's similar to what I use in IEE. It only works because there's only going to be one firefox.exe process. If I add the loop, I'll have to give up the ability for the user to run 2 eclipse processes. Is there another way?]
I thought of a solution while in the shower... (I solve all my problems that way).
It's a little messy and unprofessional, but it works.
While Eclipse is running, it uses the workspace directory. So my idea ties in with that. The launcher will backup the workspace every 2 minutes or something, and then, delete it as well. Then it'll check to see if any files are left, and repeat the process if there are. If nothing is remaining, it'll put the files back anyway and start deleting eclipse's local copy.
It's messy, screws up the CPU a bit, but it works...
To Reader: What's your opinion? Take another shower... leave RunLocally ditched, or use this idea since it's the only I can come up with.
meh, don't use kludges. There bound to cause more problems. Plus, that would set you back
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
I couldn't find in on the NSIS site...
Insert original signature here with Greasemonkey Script.
It's a feature of (some of) our launchers where it copies what's needed to the local machine, runs it, and scraps it after: for running from read-only media like CDs.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Is it there for Firefox?
And, how would I implement it?
Insert original signature here with Greasemonkey Script.
https://portableapps.com/support/firefox_portable#cd
Things have got to get better, they can't get worse, or can they?
Yeah... It's in there for most PortableApps.
Didn't I tell you to use RunLocally it on firefox in that "What Browser" Topic you made?
I'm just surprised the PortableApps developer I looked up to didn't know what it was!
I've been gone for a year...
I sorta wish the launcher could copy it back though...
Insert original signature here with Greasemonkey Script.
What? There's no reason to...
RunLocally just copies the app over to a system folder, so it would run faster, but slowing down start up at the cost, then deletes it when it finishes.