Giter Site home page Giter Site logo

Comments (12)

atankala avatar atankala commented on July 17, 2024 2

Rename the file "STS.EXE" to "sts.exe" under ../sts-bundle/sts.app/Contents/MacOS/.
And then run java -jar lomobok.jar and select the STS.ini file under ../sts-bundle/sts.app/Contents/Eclipse

This worked for me.

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ sam.brannen Β  πŸ•— Aug 06, 2009 at 10:41 UTC

What steps will reproduce the problem?

  1. Run the installer JAR
  2. Select STS.app in the SpringSource Tool Suite folder

What is the expected output?

The installer should accept STS.app as the Eclipse installation.

What do you see instead?

An error dialog is displayed stating that "The path does not appear to
contain an Eclipse installation: .../STS.app".

The installer can not continue, because you simply cannot select STS.app.

What version of the product are you using? On what operating system?

Lombok v0.8.2
Mac OS X 10.5.7
STS 2.1.0.RELEASE

Please provide any additional information below.

In general the installer should not rely on the name of the application,
since an Eclipse installation can be called anything (e.g., STS instead of
Eclipse).

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ sam.brannen Β  πŸ•— Aug 06, 2009 at 10:54 UTC

Specifically, EclipseFinder.getEclipseExecutableName() should not rely on hard-coded
values. This technique is very brittle. Why not just assume the user knows what he is
doing and use the file he selected? You could of course issue a warning dialog to
confirm that the selected file truly is the Eclipse executable.

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ reinierz Β  πŸ•— Sep 01, 2009 at 23:02 UTC

Click on 'what does this installer do?' and follow instructions. Before I accept this issue, let's first confirm that
lombok can in fact work with STS? There's also the issue of STS's internal structure: Does it have an eclipse.ini
file? If STS named it sts.ini, then the lombok installer will have to a bit more heuristic magic to figure out which
ini file it needs to modify.

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ rocknroll.demon Β  πŸ•— Sep 03, 2009 at 16:53 UTC

STS does rename the ecplise.ini to STS.ini. I'm having the same issue on both win
and mac. Hopefully you can accept this issue as I would very much like to use lombok
in STS 2.1.0.

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ reinierz Β  πŸ•— Oct 16, 2009 at 09:57 UTC

As I said, click on 'what does this installer do' and walk through the steps. I'm not sure if it'll 'just work'. if it
does, you'll have a lombok-ized STS. If it doesn't, we know more.

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ kinglew Β  πŸ•— Dec 02, 2009 at 02:10 UTC

I can confirm that lombok works on STS 2.2 by manually modifying the STS.ini
But as the initial post says, it would be much better if the installation would work
straight from the jar...

at least that fix would guarantee the "get lombok to work in less than 12 sec" :)

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ reinierz Β  πŸ•— Dec 02, 2009 at 09:26 UTC

I'm already doing work on the installer to find netbeans, so, I'll try, but I'm guessing you don't know how much
hoops we have to jump through to give you the nice 'here are a bunch of eclipses we found for you' feature in
the installer. Without an actual copy of STS on all platforms that STS runs on, I have no idea where to look.
Perhaps you know.

specifically:

On windows, what's the usual place STS gets installed - specifically, what is the name of the folder usually?
"STS"?

Is there a mac version? Is it distributed as a zip containing amongst other things STS.app, and is there an
STS.ini file in STS.app/Contents/MacOS/STS.ini?

is it written capitalized (STS.ini) or lowercase? (sts.ini)?

Is there a linux installer? What does that do?

Is STS in any frequently used apt repository?

Without answers I can try something simple that will at least accept manually entered paths to STS, but auto-
discovery would be out of the question.

As springsource seems to be a for pay utility, I can't get these answers myself.

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ sam.brannen Β  πŸ•— Dec 02, 2009 at 12:04 UTC

FYI: STS is free. You can download all of the versions that you need here:

http://www.springsource.com/products/springsource-tool-suite-download

Regarding the Mac, yes, there are actually several versions available for Mac OS X
for both Carbon and Cocoa, 32-bit and 64-bit, with both .tar.gz and .dmg download
options. You will see all available options on the download page (link above). Yes,
the installation contains STS.app, and STS.ini is stored under
"STS.app/Contents/MacOS/STS.ini" (with that exact capitalization).

For Linux there are both .installer.sh and .tar.gz downloads for 32-bit and 64-bit.

STS is not in apt: it is only available via the SpringSource download page (see link
above).

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

πŸ‘€ reinierz Β  πŸ•— Dec 08, 2009 at 05:09 UTC

The STS clickthrough license says I may not reverse engineer it.

You're lucky in live in a country with, at least for now, still sane laws, so I can ignore that part, and probably
the entire shrinkwrap license. It's nice they've given me the right to give feedback though. Lawyers. You'd
laugh if you weren't already crying.

Installer has been updated to (auto)detect STS installations and will find any STS installed by using the official
STS installer on windows, linux, or macs.

The commit with these changes is c3a3c09, and it'll be released in
v0.9.2 "hailbunny", which shouldn't be long now.

from lombok.

lombokissues avatar lombokissues commented on July 17, 2024

End of migration

from lombok.

magicofdiety avatar magicofdiety commented on July 17, 2024

Rename the file "STS.EXE" to "sts.exe" worked for me. Thanks.

from lombok.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.