You are here

[Outdated] Eclipse Portable 3.4.2 Development Test 8

98 posts / 0 new
Last post
gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
[Outdated] Eclipse Portable 3.4.2 Development Test 8

OUTDATED: This release of Eclipse Portable is now outdated, please to go the new thread for the latest release.

Application: Eclipse
Category: Development
Description: Eclipse is an open source community, whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the lifecycle.

Eclipse IDE Classic 3.4.2:
Mirror 1 (FileSavr.com) Eclipse Portable, Classic Edition [193 MB (202,627,696 bytes) download / 163 MB (171,042,915 bytes) installed (MD5: c9c1aa077e4c3c7f4f544f2bb75a690f)]
Mirror 2 (SourceForge.net) Eclipse Portable, Classic Edition [193 MB (202,627,696 bytes) download / 163 MB (171,042,915 bytes) installed (MD5: c9c1aa077e4c3c7f4f544f2bb75a690f)]
Eclipse 3.4.2 IDE for C/C++ Developers:
Mirror 1 (FileSavr.com) Eclipse Portable, C/C++ Edition [113 MB (118,583,692 bytes) download / 75.3 MB (79,062,843 bytes) installed (MD5: b080aa1cbdf558aca722d9e2fdb2f3ef)]
Mirror 2 (SourceForge.net) Eclipse Portable, C/C++ Edition [113 MB (118,583,692 bytes) download / 75.3 MB (79,062,843 bytes) installed (MD5: b080aa1cbdf558aca722d9e2fdb2f3ef)]
Eclipse 3.4.2 IDE for Java Developers:
Mirror 1 (FileSavr.com) Eclipse Portable, Java Edition [127 MB (134,177,988 bytes) download / 91.2 MB (95,635,366 bytes) installed (MD5: 5965e44b3182798dcbd5083846c4a736)]
Mirror 2 (SourceForge.net) Eclipse Portable, Java Edition [127 MB (134,177,988 bytes) download / 91.2 MB (95,635,366 bytes) installed (MD5: 5965e44b3182798dcbd5083846c4a736)]
Eclipse 3.5.0 RC3 IDE for PHP Developers (TEST!!!):
Mirror 1 (FileSavr.com) Eclipse Portable, PHP Edition [177 MB (185,996,798 bytes) download / 163 MB (171,441,085 bytes) installed (MD5: 3de7886e4888c4610b0e86a28cbb1840)]
Mirror 2 (SourceForge.net) Eclipse Portable, PHP Edition [177 MB (185,996,798 bytes) download / 163 MB (171,441,085 bytes) installed (MD5: 3de7886e4888c4610b0e86a28cbb1840)]

Make sure you update the launcher...
https://portableapps.com/node/18591#comment-122214
Release Notes:
Development Test 1 (2-19-09)

  1. Initial release

Development Test 2 (?-?-?)

  1. Moved Workspace to the Data directory.

Development Test 3 (4-10-09)

  1. Full Java Portable Support
  2. Fixed workspace thingy
  3. Compressed files
  4. Fixed some errors in the Help.html file

Development Test 4 (4-19-09)

  1. Fixed More workspace bugs, no longer prompts for workspace
  2. Fixed multi-language support in Installer (forgot to uncomment something)

Development Test 5 (5-5-09)

  1. Fixed EclipseNSIS problems
  2. Compiled with John's NSIS patch
  3. REALLY fixed multi-language support (thought I did in last release)
  4. Removed EclipseNSIS (install it yourself, in the App\Eclipse folder if you really want, it's portable

Development Test 6 (5-17-09)

  1. Used the new Installer
  2. Added more portability to EclipseNSIS (now you don't have to update the path the NSISPortable everytime you switch comps)
  3. Moved and fixed some code
  4. REALLY, TRUTHFULLY FIXED MULTI-LANGUAGE!!! (I swear I fixed it in the last 2 releases)
  5. Fixed the C/C++ edition somehow being inside the Classic Edition

Development Test 7 (5-29-09)

  1. Added file updating support (Thanks Chris)
  2. FIXED a bug with the INI file (wouldn't work at all)
  3. Used the ReadINIStrWithDefault.nsh file in source
  4. Compiled with NEW NEW installer, released today
  5. Added .nsh files needed to compile in source

Development Test 8 (6-13-09)

  1. Changed some code around to be more PortableApps.com like
  2. Got rid of some unneeded entries in the .ini file (it now just looks for the parent directory of the settings folder for data, same with AppDir and ProgramDir)
  3. Fixed a workspace bug being in the EclipsePortable folder instead of the Data folder (this was a bug in 7 1/2 which was never released, I held it back to work on this bug)
  4. Updated Eclipses and Compiled with new PortableApps.com Installer

Known Bugs:
None! Ha!

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Questions

Workspace should go in Data. Definitely not Documents.
151 MB download and yet 2.3 MB installed? Blum

John's already got this done, but is still waiting on permission from Sun to bundle Java as Java Portable before he puts up a whole slew of Java apps. In consequence, at the moment Java apps are not really welcome for real use, as Java support is mostly unofficial.

Which Eclipse package did you use for this?

What do you do about Java support? Used the code from the OpenOffice.org Portable launcher, or do you just depend on a local installation of Java?

Oh yeah, dates (e.g. in Release Notes) should be YY-MM-DD, i.e. DT1 release date is 09-19-02.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Um..

For the John's already got this done thing...

http://patrickpatience.com/nascent-project/portableapps/irc/logs/?t=2009...

Um.. I used the original Eclipse... so... Eclipse Classic.

As for the Java support, I'm going to follow what the guy did here. Making it point to the "Common Files" directory in "PortableApps". For my purposes, I don't even need java.

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
go gluxon!

go gluxon!

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Awww....

Blum

I was going to edit my post so it says "LIER!!!" at the top (Yes, I"m calling Chris a lier (what? John wasn't working on it... :P)

But I kept getting "Acess Denied". I refreshes the page and found out why (cause I rock too hard) Blum

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
OK

John having dropped Eclipse Portable is something new. Several times he has said here and on IRC that he's done it etc.

Eclipse comes in various flavours, I was just wanting to know which it was you'd used. Thanks for telling me.

About Java support, fine, I was just checking. Just a harmless suggestion is to base your code on the OpenOffice.org Poratble Java code. Your own should be fine though.

Thanks for vindicating yourself on all counts Smile

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Thank you.

Thank you Chris.

Now that you mention it, I should put a 2 folders valid for java, like OOoP. I forgot all about OOo dependence of java.

I promise to put in all the time I can on this Project.

I currently face one problem.

Eclipse for some dumb reason requires this.

RECENT_WORKSPACES=J:\\PortableApps\\EclipsePortable (I don't know why the value for the current workspace is RECENT_WORKSPACES, cause it's not recent.)

Two \\'s instead of one.

If I do $EXEDIR that won't work. So until I find a solution, EclipsePortable has to be in the PortableApps directory.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
StrRep

Use StrRep.nsh for this.

Replace \ with something NOT including \, then that with \\ (to avoid recursion problems)

StrRep.nsh is included in most launchers (used in conjunction with ReplaceInFile.nsh for updating drive letters in files)

Example usage:

${StrReplace} $0 "\" "::" $EXEDIR
${StrReplace} $0 "::" "\\" $0

That aught to do it.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Thanks.

Thanks.

But what's the output's variable?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
$0

The first argument. I then just on the second line put it in as $0 and back out as $0 - memory economy, that's all.

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

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
WordReplace

May I suggest WordReplace? It's a NSIS function, not a custom one. The syntax is explained in the NSIS help.
Example usage:

${WordReplace} $EXEDIR "\" "§§" "+" $0
${WordReplace} $0 "§§" "\\" "+" $OUTPUT
Chris Morgan:StrRep.nsh is included in most launchers (used in conjunction with ReplaceInFile.nsh for updating drive letters in files)

Old launchers use StrRep.nsh in conjunction with ReplaceInFile.nsh, new launchers use ReplaceInFileWithTextReplace.nsh.
@Chris: You love custom functions, don't you? Blum

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
::, not §§

btw, "::" is going to be better than "§§" as an intermediate step, as it's possible to include § in the filename, but not : (reserved for the drive level, which is a single :).

I'd just forgotten about the newer ReplaceInFileWithTextReplace.nsh for the time, that's all.

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

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
Well,

it's possible to include § in the filename/pathname, but §§ is most unlikely.
On the other hand "::" causes issues:

;say $EXEDIR="X:\PortableApps\ExamplePortable"
${WordReplace} $EXEDIR "\" "::" "+" $0
;$0="X:::PortableApps::ExamplePortable"
${WordReplace} $0 "::" "\\" "+" $OUTPUT
;$OUTPUT="X\\:PortableApps\\ExamplePortable"  -->BUG

"§§" was just an example, so use "???" or whatever you want for the intermediate step.
"::" in no case, IMHO Wink

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Geezes...

Not helping with the very advanced code that hurts my brain...

Blum

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
Just go line by line.

Just go line by line.

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

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Whoops...

Oh, that's what happens when you just provide some code without testing it...
?, and | are also non-allowed characters, so you could replace \ with one of them and then that one with \\.

OK, gluxon, I reckon go with the line

!insertmacro WordReplace

in the header (in the includes section), and then use the following body code:

${WordReplace} $EXEDIR "\" "|" "+" $0
${WordReplace} $0 "|" "\\" "+" $OUTPUT

where $OUTPUT can be $0 or whatever, which you then use to house the recent workspaces variable.

Bart.S: "most unlikely" or not, it's still a "potential use case" and so should be supported if it's not too hard which it isn't Wink Any more bugs to find with it?

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

Bart.S
Offline
Last seen: 7 months 2 weeks ago
Developer
Joined: 2008-07-23 07:56
:-)

Alright, the "potential use case" should be supported, even if PortableApps.com only supports the default paths "X:\PortableApps\ExamplePortable" Blum

The header (the include section) should contain the lines:

!include WordFunc.nsh
!insertmacro WordReplace

Btw: You could look at my FreeMat Portable launcher. It uses the WordReplace function. (Sorry for this ad ;))

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
The 2 \\ is because \ is an

The 2 \\ is because \ is an escape character for windows. So, to make windows see it, you have to due \\.

GIMP also has that oddity.

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

nbflint
Offline
Last seen: 14 years 12 months ago
Joined: 2009-04-03 12:51
Dev Test 2 Download

Is the Dev Test 2 file available for download? The link above seems to be for Dev Test 1 still.

Thank you,

Nick

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Oh yeah, sorry.

I forgot to rename the installer when I uploaded it.

Anyway, I'm still trying to resolve that issue with the WordReplace, I've almost got it covered, so I don't recommend downloading it just yet.

rickybell
Offline
Last seen: 14 years 11 months ago
Joined: 2009-04-06 14:07
Erro on load Eclipse Portable.

Hi, everyone...

I have found this error when Eclipse is load.

eclipse.buildId=M20090211-1700
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2009-04-06 15:01:36.140
!MESSAGE Application error
!STACK 1
java.lang.ArrayIndexOutOfBoundsException: 0
at org.eclipse.ui.internal.ide.ChooseWorkspaceData.writePersistedData(ChooseWorkspaceData.java:213)
at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:236)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:103)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Thanks...

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
hm... Sure Java is

hm...

Sure Java is installed?

I'm still trying to find a way to make Eclipse Portable look for Java in the [x]:\PortableApps\Common Files\Java" Folder, and the [x]:\PortableApps\EclipsePortable\App\Java.

But by default, Eclipse searches "C:\Program Files\Java" And "[x]:\PortableApps\EclipsePortable\App\Eclipse\JDK"

And what version of Windows are you using?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Look at OpenOffice.org Portable

You need to use the ${GetParent} macro. The best way of getting such code in, though, is to just copy it from OpenOffice.org Portable - look at Other\Source\OpenOfficePortable.nsi, about lines 330-350, maybe a bit more for context Smile

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Wow... Thanks Chris...

Wow...

Thanks Chris... again.

Biggrin

I found how to do it through google (I've confirmed that it works too). And I've been having it use ".." (relative paths, but you probably already know this) instead.

But I think this solution is better.

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
Where's da file? Please :D

Where's da file? Please Biggrin

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Sorry. I had Ben delete the

Sorry.

I had Ben delete the file from his account since now I"m going to use Google Code, and I forgot say that it was unavalible since I had to leave at that moment.

Dev Test 3 is comming up Portable Java support and the Workspace Path fixed.

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
sweetness. I'll be waiting

sweetness. I'll be waiting

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 3 Released.

Development Test 3 Released.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 4 Released.

Development Test 4 Released.

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
Hooray!

Hooray!

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Ummm...

Okay... I think Eclipse Portable is ready for Pre-Release. Could 1 of the 10 people in the Dev Group (or whatever its called) tell me what I have to do for this app to become in the Pre-Release category? You know... like find some bugs in my code that I should fix, or something like that?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Java :-(

Unfortunately, Sun has not been responding to John about us having Java Portable. Until this happens, I don't believe that we're ready to have any Java apps at all official. However, once we can (if Sad ), I reckon that Eclipse will be one of the first.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Actually... I was thinking to

Actually...

I was thinking to just go with the "[X]:\PortableApps\CommonFiles\Java" thing until things are cleared up with Sun and Java Portable.

If John's already contacted Sun twice then I don't think a third or fourth time will get Sun to even write back.

Besides, just because Sun doesn't reply to John shouldn't mean we should stop the development of Java apps.

Aggreed?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
No

The problem is with the user. We've got to be able to have it friendly to set up.

Before we go any further with this discussion, I think that we need John T. Haller to comment on the issue: he's in charge.

Edit: Java Portable would still be going in CommonFiles\Java, but it would be a download entirely from PortableApps.com: "Java Portable".

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Very well, we'll wait for

Very well, we'll wait for John to comment. I'll try to get him on the IRC when he's not busy.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Okay... Managed to get

Okay...

Managed to get him...

He said it was fine the way it is. Biggrin

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
should notify the user if

should notify the user if java portable isn't setup.

I'll take a more through look over the weekend. Can you cull the locales?

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Okay! :P

Okay... I'll notify the user, but daBomb69 thought that I should bundle up the Java Portablizer with the launcher and start it if Java isn't found. Should I? It's a good idea but the Java Portablizer is a little outdated in PortableApps Installer code.

And what do you mean by cull the locales?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Closed source

The Java Portablizer is actually closed source, as because of its nature, John decided that was best. If you want that code, ask him.

By culling the locales I think Oliver means to put them into an optional installer component.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
What? It's closed

What?

It's closed source!!!

Well that was unexpected...

Okay... I'll try to get the installer to do that.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Wait

I think it's not worthwhile doing until John comments on what's happening. If he does.

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

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
As Chris said, I mean to make

As Chris said, I mean to make installing other languages, like spanish, french etc. an option.

For the Java Portbilizer, you need to Discuss with John how to do that. My initial reaction is that if Java isn't on the drive, make it use a local copy, though that will require investigation as to the effects on the Host computer. Ask John on IRC how to handle this, as I'm not sure how to handle it myself.

Having fun yet? Biggrin

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Okay... a few things... For

Okay... a few things...

For the last few days I've been trying to fix a weird bug with EclipseNSIS (Which isn't really major because just about nobody uses it) and how to do the Additional Languages option in the installer.

So... here's some questions...

1. I think I've fixed up the bug for Dev Test 5 but for this version I would like to make EclipseNSIS sepret. So like one of those GIMP plugins like the Portable Background Window or the Photoshop plugin? How would I do that?

2. I've found a download for additional languages on the eclipse website but I can't get the installer to work. I've uncommented the line specified but get errors. The problem is that I don't know where to put the langs.

And since I've become C++ developer... I've decided to package the C/C++ version of eclipse. And while I'm at it... the Java version too. Smile (Since the different pacages are pretty similar, the launcher works with them all :P)

But I need those questions answered before I do that.

Thanks.

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
what's the folder its in. In

what's the folder its in.

In teh case of pnotes, I have two Folders:
PNotesPortable and PNotesPortableOptional1 (At least I think that's the name.)

PNotesPortableOptional1 has:
+App
++Pnotes
+++lang
++++langfiles . . .

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Okay... thanks. I'll try

Okay... thanks. I'll try that.

Now what about the plugin installer?

[Edit: Worked, thanks]

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
I'm not to sure about the

I'm not to sure about the plugin installer, I haven't used it yet though. I *think* it works much the same as the way the additional languages works.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 5 Released

Development Test 5 Released

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
title still says 4 :p. Was

title still says 4 :p.

Was the project accepted? If so, you need WinSCP. I did it once upon a time, long ago. They have tutorials which, though confusing, are good.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Yeah...

It got rejected twice, but was accepted on the third try.

daBomb was begging me on the IRC to let him upload it on his SourceForge.net account. (I should have been begging) so it'll be on a faster server soon.

P.S. I am such a loser for forgetting to change 4 to 5

daBomb69
Offline
Last seen: 3 years 9 months ago
Joined: 2009-02-09 21:49
gluxon, you sorta forgot

gluxon, you sorta forgot something... (like, how to spell my name) Blum

But yeah, it'll be on SF as soon as i refigure out how to upload to SF.

Use the search box! Please!

kai.inouye
kai.inouye's picture
Offline
Last seen: 12 years 3 months ago
Developer
Joined: 2008-02-03 20:12
hmm

Ok, I downloaded it and tried to run it but I got this message:


A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available to run blah blah. No Java virtual machine was found after searching the following locations:
..\..\..\CommonFiles\Java\bin\javaw.exe

EDIT: I just thought of something: wasn't Java apps not allowed? (or am I wrong?)

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
First of all, you need to use

First of all, you need to use the Java Portablizer made by John.

If you've read the previous comments, you'd know that I'm working on prompting the user if Java doesn't exists (plan on downloading the Java Portablizer and having the user set it up).

Here's the link. Download it (size is less than a meg), and install to the place it recommends. You also need Java installed on your local machine to do this, what it does is copy it over and configure it so it's Portable.

BTW, read more Kai Biggrin in the first few comments, Chris Morgan asked your same question, about the Java apps.https://portableapps.com/support/openoffice_portable#java

Sok4R
Offline
Last seen: 14 years 10 months ago
Joined: 2009-04-08 05:18
I downloaded the new version,

I downloaded the new version, but it comes as C/C++ Version - what happened to the Java Version?

sry for bad english =/

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Umm..That was the Classic

Umm..

That was the Classic version.

Eclipse has many different packages for different programmers.

I just added the C/C++ version as of Dev Test 5. Dev Test 4 only had the Classic version. But I've added the actual name (classic) of the package now.

So what you would want is the classic/regular one.

GRRR.. who messed up the layout...

Sok4R
Offline
Last seen: 14 years 10 months ago
Joined: 2009-04-08 05:18
java still missing

so i downloaded the classic version (again), installed it to my stick but it still says it's the c++ version and i can't create a jave project, just c, c++ and other.

sry for bad english =/

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
??? I just downloaded the

???

I just downloaded the Classic Version, and it seems to be working fine with java.

Try this link.

http://www.filesavr.com/eclipseportable342developmenttest5paf

I haven't tested out OliverK's links. So if you're downloading it from there, that might explain it.

If you want, I'll package the true java version now (it's a little bigger though).

[Edit: WHOOPSy... Blum I realized I had a special version for editing both. I'm deeply sorry, I'll update the packages now].

[Edit (2): Fixed as of Dev Test 6]

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
http://sourceforge.net/projec

Okay, Eclipse C\C++ Portable:
http://sourceforge.net/project/downloading.php?group_id=259013&filename=...

Eclipse Classic Portable
http://sourceforge.net/project/downloading.php?group_id=259013&filename=...

I just upload them, so it may take a bit for every server to get them.
Cheers,
OliverK

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
It's C/C++ not C\C++ :P lol.

It's C/C++ not C\C++ Blum lol. (BIG DIFFERENCE!!!).

Anyway, thanks.

I can't add them now but once I'm on an actual computer (NOT A DSi) I'll make sure I add them.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Guys, I found the path for

Guys, I found the path for where Eclipse is storing the locations of the the files in it's current tabs.

I was expecting a .ini or a .prefs file but...

It's an .xml file...

J:\PortableApps\EclipsePortable\Data\.metadata\.plugins\org.eclipse.ui.workbench\workbench.xml

Anybody know how to update locations if it's storing paths in an XML file?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Just use the normal ReplaceInFile

Just use the standard ReplaceInFile (with TextReplace) function.

${ReplaceInFile} "$DATADIRECTORY\.metadata\.plugins\org.eclipse.ui.workbench\workbench.xml" "$LASTDRIVE\" "$CURRENTDRIVE\"
Delete "$DATADIRECTORY\.metadata\.plugins\org.eclipse.ui.workbench\workbench.xml.oldReplaceInFile"

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
That'll work? :D YAY!!! I was

That'll work?

Biggrin

YAY!!!

I was thinking, since it has spaces...

K, one question.

After the .nsh file finishes what it has to do, it creates a .oldReplaceInFile ???

[Edit:
I'm getting this in my compiler

Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Error: resolving install function "StrReplace" in function "RIF"
Note: uninstall functions must begin with "un.", and install functions must not
Error - aborting creation process

It's coming from my copy of ReplaceInFie.nsh
Is my copy of ${ReplaceInFile} possesed? Blum

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
ReplaceInFileWithTextReplace.nsh

You should be using ReplaceInFileWithTextReplace.nsh, which is available with the latest apps. It doesn't need StrReplace.nsh, but does need the TextReplace plugin (included in NSIS Portable)

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
*nvrmind*

*nvrmind*

it worked.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 6 Released

Development Test 6 Released

oucil
oucil's picture
Offline
Last seen: 12 years 2 weeks ago
Joined: 2006-11-14 23:04
PHP?

I didn't notice anyone else asking this (at least here) but if you're going to the trouble of doing Classic, C, and Java releases, could you maybe do a PDT (PHP) release as well.... or should we just be taking the Classic and installing it ourselves?

Many thanks, love eclipse!

Kevin Farley
"If at first you don't succeed, destroy all evidence you ever tried."

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
There's a php

There's a php version??????????

Um...

I don't see a php version here...

http://www.eclipse.org/downloads/

[Edit: If you can give me the link, I'll gladly package it.)

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Two things

There is PHPeclipse, a distribution of Eclipse modified for PHP use, available in the community builds, and there is the PHP Development Toolkit (PDT), a plugin for Eclipse. Without having tried either, from former research I understand that they're somewhat different, but similar. I reckon that installing the PDT as a plugin is the way you should go with this rather than doing a PHPeclipse build.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 7 Released

Development Test 7 Released

Hehehe, forgot to do this 2 days ago Blum

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
... What the... All me

...

What the...

All my Eclipse Files are gone....

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
K, files are back.

K, files are back.

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
Sourecforge instructions

Sourecforge instructions (cause I'm not gonna be around for long Sad and becuase I can't post your files.

  1. Go here: https://sourceforge.net/project/admin/editpackages.php
    ?group_id=259013 Click Add Release.
  2. Enter a name, say, Dev 7. Click, create this release.
  3. If you need to put in notes, then add those. But really, your concerned with the step 2, add files. Click the files you want in the release, then, click the Add Files/Refresh View button Clicking that button is important!
  4. Update the info. From there, I'm stuck because I don't have a copy of the file I want to put(and the time. Sad I need to go mail something.), I'm scared of using a lolcat to check. From there, it should be self-explanatory.
  5. Good luck. Oh, if no files show up, you may need to move them to the uploads folder you you sftp in.

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Thanks. :P ... the uploads

Thanks.

Blum

...

the uploads folder? But if it doesn't work moving them will take FOREVER!!!

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Development Test 8 Released.

Development Test 8 Released.

OliverK
OliverK's picture
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-03-27 15:21
congrats on figuring out

congrats on figuring out sourceforge!

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

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
PHP Version added.

PHP Version added.

App Guy
Offline
Last seen: 10 years 5 months ago
Joined: 2008-03-16 14:24
Bug?

I seem to have a bug in finding the workspace. Everytime I start it up, it says that I cannot use the workspace. It says "H:\Portableapps\EclipsePortableH:\Portableapps\EclipsePortable\Data

May the Shwartz be with you

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Yeah...

Thanks.

As you know, I fixed it and just have to upload it now.

App Guy
Offline
Last seen: 10 years 5 months ago
Joined: 2008-03-16 14:24
I know

I posted this before I got a hold of you on #portableapps

May the Shwartz be with you

Dane
Offline
Last seen: 10 years 9 months ago
Joined: 2008-11-18 07:18
Workspace Bug

I was unable to download the new launcher before it vanished.

I identified the location in the launcher code that needs changed to correct the issue.

Search for:
StrCmp $0 "" WorkspaceDir ""
Replace with:
StrCmp $0 "" CheckForEclipsePortableSettings ""

Tomkoskz
Offline
Last seen: 14 years 9 months ago
Joined: 2009-06-27 09:58
Portable apps version of Eclipse

I've created a portable flash drive version of the new 3.5 Galileo release of Eclipse. I'm going to make a second copy of it to play around with and get it in the correct portable apps format. I'm also going to try compacting it as it is very large. As of now mine is dependent on the Portable JavaRuntime that is publicly released here.

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
Actually...

This launcher works with the new Galileo release. In the current version of Dev Test 8, I have one bug that only affects new installs (if you upgrade you're probably fine).

The Dev Test 9 launcher fixes the bug, but currently, only AppGuy and I only have it. It should be here, unless filesavr.com cleared it already.

I can't get on a normal computer right now. (only handheld devices) so I can't update the package.

temp4746
Offline
Last seen: 13 years 5 months ago
Joined: 2009-03-09 04:06
I wish it will be updated

Man i really wish it would be updated to 3.5
My school computers have really outdated versions of eclipse (3.2.2)
And i wish to have a portable version of eclipse so i can have a newer one (Some changes in galileo i also really like to have)

One thing that disturbs me though is that the java that PortableApps has is a jre not a jdk which i think is more suitable for using with eclipse.

I dont think there should be much of a problem in making a portable JDK, the only problem that should exist is the hosting of the non-open source bits.

EDIT: Maybe also adding support for having portable SVN support in eclipse. (Using one of the eclipse SVN support projects which a user can install to the portable eclipse)
The only thing that i think any SVN client leaves behind is a Subversion directory in the current user Application Data directory. so it should be easy to portablize, backup existing directory and restore it and copy settings between the portable drive and local harddrive.

Pericius
Offline
Last seen: 14 years 8 months ago
Joined: 2009-06-09 06:12
Can this be made to run on

Can this be made to run on both osx and xp?

And another one, will I be able to install any plugin (i.e. flex builder, radrails, pydev) and will it still be portable afterwards?

gluxon
gluxon's picture
Offline
Last seen: 3 years 6 months ago
Developer
Joined: 2008-06-21 19:26
... Both your questions lead

...

Both your questions lead to yes and no answers...

This will work on XP fine.

To make it work on Mac OS X you need wine installed.

And make sure you have java too.

It depends on where the plugin puts it's settings. Normally most of them put it in the workspace folder. So MOST plugins will be portable.

temp4746
Offline
Last seen: 13 years 5 months ago
Joined: 2009-03-09 04:06
I wish it will be updated

Man i really wish it would be updated to 3.5
My school computers have really outdated versions of eclipse (3.2.2)
And i wish to have a portable version of eclipse so i can have a newer one (Some changes in galileo i also really like to have)

One thing that disturbs me though is that the java that PortableApps has is a jre not a jdk which i think is more suitable for using with eclipse.

I dont think there should be much of a problem in making a portable JDK, the only problem that should exist is the hosting of the non-open source bits.

EDIT: Maybe also adding support for having portable SVN support in eclipse. (Using one of the eclipse SVN support projects which a user can install to the portable eclipse)
The only thing that i think any SVN client leaves behind is a Subversion directory in the current user Application Data directory. so it should be easy to portablize, backup existing directory and restore it and copy settings between the portable drive and local harddrive.

EDIT 2:
Code for adding subversion support:
Insert before eclipse loads:

Subversion:
         IfFileExists "$APPDATA\Subversion\*.*" 0 +2
         Rename $APPDATA\Subversion $APPDATA\Subversionbackup
         IfFileExists "$DATADIRECTORY\Subversion\*.*" 0 +3
         CreateDirectory $APPDATA\Subversion
         CopyFiles $DATADIRECTORY\Subversion\*.* $APPDATA\Subversion

Insert after eclipse closes:

SubversionSave:
           IfFileExists "$APPDATA\Subversion\*.*" 0 +4
           IfFileExists "$DATADIRECTORY\Subversion\*.*" 0 +2
           RMDir /r $DATADIRECTORY\Subversion
           Rename $APPDATA\Subversion $DATADIRECTORY\Subversion
           IfFileExists "$APPDATA\Subversionbackup\*.*" 0 +2
           Rename $APPDATA\Subversionbackup $APPDATA\Subversion

EDIT 3: Id also recommended that you move the workspace from Data\ to Data\workspace\ so Eclipse wont have directories that it doesnt need to have in its workspace directory.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Comments on SVN handling

A few comments.

  • Rather than using Subversionbackup, use something clearer like Subversion-BackupByEclipsePortable.
  • You can't use Rename across drives. You'll need to:
    CopyFiles /SILENT $APPDATA\Subversion $DATADIRECTORY
    RMDir /r $APPDATA\Subversion
  • The problem is, $APPDATA\Subversion is used by all SVN clients for auth data saving. This becomes a problem in the following example:
    1. User has TortoiseSVN installed locally.
    2. User saves auth details for http://bpbible.googlecode.com/svn/trunk
    3. User uses Eclipse Portable
    4. While Eclipse Portable is running, user commits some marvellous new code. SHOCK HORROR! The saved password is gone! User actually has to find the SVN password to commit the code!

    Worse still, two applications, say Subcommander Portable and Eclipse Portable (ignore the fact that Subcommander Portable doesn't yet handle $APPDATA\Subversion... should get round to fixing that) get run together. They end up with clashing settings, and if run S then E and then closed in the same order, look what happens:

    • S started: APPDATA\Subversion = S settings, APPDATA\Subversion-bakS = local settings
    • E started: APPDATA\Subversion = E settings, APPDATA\Subversion-bakS = local settings, APPDATA\Subversion-bakE = S settings
    • S closed: saves Eclipse's settings! APPDATA\Subversion = local settings, APPDATA\Subversion-bakE = S settings
    • E closed: saves local settings, and leaves Subcommander's settings behind!

    As you can see, this is not desirable... Subcommander gets Eclipse's settings, Eclipse gets the local settings, and Subcommander's settings are Left Behind on the local machine... I think the only way to handle this is (dah de dah... imagine it's dramatic music) shared Subversion auth details. I don't know how we should do it, but it's the Only Way. @John T. Haller, we need your comment!

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

temp4746
Offline
Last seen: 13 years 5 months ago
Joined: 2009-03-09 04:06
Hmmm

Hmmm if the was a way to redirect the saving of the subversion data to the portable drive...

Wait, is it possible to override windows Appdata enviroment variable for single program only (overriding it for the entire computer will make all the prgorams start writing there settings to the portable drive XD)

Since this is what most program use to find out the appdata directory it should work and separate the local subversion settings from the portable ones.

Yet this is only possible if windows allows such a change and wont block changing it.

EDIT: Does the launcher handle eclipse update restarts?
Also when i launch it it gives me a strange workspace path and refuses to start. The path is:
C:\EclipsePortable\C:\EclipsePortable\Data

EDIT 2: Setting the environment variable didn't work (It can be set but its still saves at application data\subversion probably its using another way to find the appdata location.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
APPDATA

I've already tried changing APPDATA. It's no go with it. I'm not sure how exactly it gets it, as I would expect it to then break with the ShGetSpecialFolderLocation etc. call, but it doesn't. See Subcommander Portable for reference.

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

temp4746
Offline
Last seen: 13 years 5 months ago
Joined: 2009-03-09 04:06
Doh

Why do they have to use a WinAPI call That gets CSIDL_APPDATA(0x001a) in a really complex matter through a library called jna.

I dont see how this could be overriden without hooking that function somehow...

Dammit whats wrong with using the APPDATA EnvVar -.-.

Well the only other way is patching this in source code and making a special portable SVN For eclipse version that can be installed to it. (Just look for mentions of appdata or applicationdata in source code its easy to find the method that gets this folder)

It will need to be overriden in the JavaHL or SVNKIT side.

But it does require selecting what version of svn support to make avalible and some users may want to have a diffrent version (subversive or subclipse, javahl or svnkit and what version of javahl or svnkit?)

Also does anyone else encounter the strange bug I encounter with the workspace directory?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 9 months ago
Joined: 2007-04-15 21:08
Subversion

The problem is not with eclipse - it's with the global Subversion bindings. You can't fix it just for Eclipse because of the way it does its package management, updates etc.

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

temp4746
Offline
Last seen: 13 years 5 months ago
Joined: 2009-03-09 04:06
Can this be fixed at all?

Im not sure if it is even possible unless all subversion clients suddenly add something like a SVNDATA enviroment variable to override where they save their data.

How do you think it should be done?

Again someone please check the bug about the workspace path i mentioned.

Pages

Topic locked