Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README needs updating for ScalaIDE 4.0 final #45

Open
deanwampler opened this issue Jan 6, 2015 · 11 comments
Open

README needs updating for ScalaIDE 4.0 final #45

deanwampler opened this issue Jan 6, 2015 · 11 comments

Comments

@deanwampler
Copy link

I discovered several errors while building and using the plugin.

  1. ScalaIDE is based on Luna now, not Kepler.
  2. The kepler-nightly-2.11 and master branches don't build, due to missing dependencies. I used the 2.11 branch successfully. Perhaps it should be merged to master?
  3. The update "site" is wrong. It should be org.scala-ide.sdt.scalatest.update-site/target/site

Is there no prebuilt update site on the web?

dean

@cheeseng
Copy link
Contributor

cheeseng commented Jan 7, 2015

Hi Dean,

Yes the README is outdated, I'll try to find timeslot to update it to
latest.

For prebuilt version, you should be able install it from the scala-ide
update site, only if you are using nightly you'll need to manually build it.

Hope this helps.

Chee Seng

On Tue, Jan 6, 2015 at 11:03 PM, Dean Wampler [email protected]
wrote:

I discovered several errors while building and using the plugin.

  1. ScalaIDE is based on Luna now, not Kepler.
  2. The kepler-nightly-2.11 and master branches don't build, due to
    missing dependencies. I used the 2.11 branch successfully. Perhaps it
    should be merged to master?
  3. The update "site" is wrong. It should be
    org.scala-ide.sdt.scalatest.update-site/target/site

Is there no prebuilt update site on the web?

dean


Reply to this email directly or view it on GitHub
#45.

@deanwampler
Copy link
Author

Thanks.

Dean Wampler, Ph.D.
Typesafe
"Functional Programming for Java Developers",
"Programming Scala", and
"Programming Hive" - all from O'Reilly
twitter: @deanwampler, @chicagoscala
http://typesafe.com
http://polyglotprogramming.com

On Wed, Jan 7, 2015 at 2:00 AM, Chua Chee Seng [email protected]
wrote:

Hi Dean,

Yes the README is outdated, I'll try to find timeslot to update it to
latest.

For prebuilt version, you should be able install it from the scala-ide
update site, only if you are using nightly you'll need to manually build
it.

Hope this helps.

Chee Seng

On Tue, Jan 6, 2015 at 11:03 PM, Dean Wampler [email protected]
wrote:

I discovered several errors while building and using the plugin.

  1. ScalaIDE is based on Luna now, not Kepler.
  2. The kepler-nightly-2.11 and master branches don't build, due to
    missing dependencies. I used the 2.11 branch successfully. Perhaps it
    should be merged to master?
  3. The update "site" is wrong. It should be
    org.scala-ide.sdt.scalatest.update-site/target/site

Is there no prebuilt update site on the web?

dean


Reply to this email directly or view it on GitHub
#45.


Reply to this email directly or view it on GitHub
#45 (comment)
.

@mlangc
Copy link

mlangc commented Jan 9, 2015

Hmm, unfortunately I had no luck installing the prebuilt version into a locally built version of Scala-IDE; see https://groups.google.com/forum/#!topic/scala-ide-dev/z9zFvlael_4

@cheeseng
Copy link
Contributor

cheeseng commented Jan 9, 2015

@mlangc may I know what is your Scala-IDE version that you built locally? is it master branch or the 4.0 tag?

@mlangc
Copy link

mlangc commented Jan 9, 2015

@cheeseng It's the master branch.

@cheeseng
Copy link
Contributor

cheeseng commented Jan 9, 2015

@LangC, if it is the master branch, then I don't think any prebuilt version will work. You'll need to build scalatest-eclipse-plugin manually, I wonder if the following will work for you:

git clone git://github.com/scalatest/scalatest-eclipse-plugin.git
cd scalatest-eclipse-plugin
git checkout kepler-nightly-2.11
mvn clean package

the output update site should be in org.scala-ide.sdt.scalatest.update-site/target

@mlangc
Copy link

mlangc commented Jan 9, 2015

@cheeseng If I follow your recipe I get

$ mvn clean package
[...]
[INFO] Resolving dependencies of MavenProject: org.scala-ide:org.scala-ide.sdt.scalatest:2.9.3-SNAPSHOT @ /home/mlangc/Development/git/scalatest-eclipse-plugin/org.scala-ide.sdt.scalatest/pom.xml
[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.scala-ide.sdt.scalatest 2.9.3.qualifier
[ERROR]   Missing requirement: org.scala-ide.sdt.scalatest 2.9.3.qualifier requires 'bundle org.scala-ide.sdt.core [4.0.0.rc,5.0.0)' but it could not be found
[ERROR] 
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.jdt.core 3.9.0.v_OTDT_r220_201306071800 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.eclipse.jdt.core 3.9.1.v_OTDT_r221_201309101918 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.eclipse.jdt.core 3.9.2.v_OTDT_r222_201402180730 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.eclipse.jdt.core 3.10.0.v_OTDT_r230_201406101339 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.eclipse.jdt.core 3.10.0.v_OTDT_r231_201409160728 to org.eclipse.objectteams.otdt.core.patch.feature.group [2.0.0,3.0.0).", "Unable to satisfy dependency from org.scala-ide.sdt.scalatest 2.9.3.qualifier to bundle org.scala-ide.sdt.core [4.0.0.rc,5.0.0).", "No solution found because the problem is unsatisfiable."] -> [Help 1]

@cheeseng
Copy link
Contributor

cheeseng commented Jan 9, 2015

@mlangc Can you try to change the following line:

https://github.com/scalatest/scalatest-eclipse-plugin/blob/kepler-nightly-2.11/org.scala-ide.sdt.scalatest/META-INF/MANIFEST.MF#L27

to:

org.scala-ide.sdt.core;bundle-version="[4.0.0,5.0.0)",

and see if it works? I am sorry it is too late in night over here for me to try building it with the latest scala-ide master, I'll try it tomorrow if the above change still can't fix your problem.

Sorry for the inconvenient caused.

@mlangc
Copy link

mlangc commented Jan 9, 2015

No need to be sorry - thanks for your great work! Changing MANIFEST.MF as explained above did the trick!

@mlangc
Copy link

mlangc commented Feb 22, 2015

@cheeseng Since this change did the trick, I'm wondering if this shouldn't make it to the repository... I can create a pull request if you want.

@mlangc
Copy link

mlangc commented Feb 22, 2015

Ah, OK it seems like you already changed this.. sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants