I have tried, publishing is OK:
...
[info] published sbt-netbeans-plugin_2.8.1 to /home/anli/.ivy2/local/org.netbeans/sbt-netbeans-plugin_2.8.1/0.0.6_0.9.5/poms/sbt-netbeans-plugin_2.8.1.pom
[info] published sbt-netbeans-plugin_2.8.1 to /home/anli/.ivy2/local/org.netbeans/sbt-netbeans-plugin_2.8.1/0.0.6_0.9.5/jars/sbt-netbeans-plugin_2.8.1.jar
[info] published sbt-netbeans-plugin_2.8.1 to /home/anli/.ivy2/local/org.netbeans/sbt-netbeans-plugin_2.8.1/0.0.6_0.9.5/jars/sbt-netbeans-plugin_2.8.1-sources.jar
[info] published ivy to /home/anli/.ivy2/local/org.netbeans/sbt-netbeans-plugin_2.8.1/0.0.6_0.9.5/ivys/ivy.xml
...
But (in project dir) :
...
> netbeans
[error] Not a valid command: netbeans
[error] Not a valid project ID: netbeans
[error] Not a valid configuration: netbeans (similar: test)
[error] Not a valid key: netbeans (similar: test, streams)
[error] netbeans
[error] ^
...
sbt version is 0.9.6. I'm at first steps stage of sbt learning. What have I missed?
a
a
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
It seems like scala-swing jar is missed in deps.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
> The problem is fixed now.
Vasil, thanks! - got it, newly created project was successfully opened by NB.
Sorry, I'm not ready for more feedback yet as far as am still learning xsbt (it is very funny to read the xsbt wiki in alphabet order :-)).
Andrew
Vasil, thanks for the explanation! Do I understand correctly, aggregating project (root in your example) must be in enclosing directory? I have digged in the wiki but haven't found anything concerning overall internal projects' location demands (say, is it possible to use something like file("../../a/b/c") in a project definition).
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
The only limitation I know of is that sub-projects should be located under the _build_ root
This is fixed in branch 0.9 already.
set libraryDependencies += "org.netbeans" %% "sbt-netbeans-plugin" % "0.0.6_0.9.7"
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
Vasil, great, thanks! I'm all in impatience to try, but also dream to understand that secret official way of plugin updating :) I mean those problems with plugin updating I already had had. Will you, please, find a second to open this secret? Deleting of ~/.sbt and ~/ivy2 isn't constructive way, I guess...
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
Vasil, frankly speaking, I guess both run and debug must be implemented "NB way" - probably by overwriting netbeans ant tasks (at netbeanizing phase). Have you estimated a possibility to cooperate with Caoyuan Deng?
--
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
In theory, some work can be done to decrease SBT bootstrap costs (~3 seconds, in your case) for the scenarios, when SBT is stopped immediately after running the action (e.g. console support can be limited for this case).
Personally I'm not suffering that much from memory/time wasting problems, because I have SBT console running all the time, submitting all the build workflow commands (compilation, packaging, testing, etc.) there, and using Netbeans only for editing.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
Vasil, it seems you have not published 0.0.8_0.9.7 artifact while README refers to this version.Vasil, it seems you have not published 0.0.8_0.9.7 artifact while README refers to this version.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>> 0.0.8_0.9.8
It's on the repo already :) ~> https://github.com/remeniuk/remeniuk.github.com/commit/44b3cf050d1c054b19d8a021fc2e8850a2235925
>> so have built 0.0.8_0.9.8 from git
You're half-way to start contributing the code ;) Maybe it's very time, given that you have a great insight into the problem?
>> 1. nb project isn't obligated to have default main class at all.
I agree. But, if there're no main class, behavior for "Run" in undefined. Or I miss something?
>> Probably a ref to dependency project sources must be added somewhere in dependent project configuration to get interprojects Crtl-click working.
Does it work for standard Ant-based project?
>> 5. main() select dialog has lost current sbt project tracking. I have selected prj1 and started netbeanizing. Have got dialog to select main() among 5 variants, >> selected 5th. Then I switched to prj2 and also started netbeanizing. Have got dialog to select main() among 42 :) variants, selected 28th. Have got error >> message saying I have 5 mains only. OK, have selected something small :)
If you want to netbeanize a hierarchy of projects, simply pass `netbeans` or `netbeans create transitive` (`transitive` modifier can be added to any command, in order to apply it for all used/dep projects).
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.