mirror of https://github.com/sbt/sbt.git
Convert references to harrah/xsbt to sbt/sbt
This commit is contained in:
parent
3035cbf2d1
commit
ce439efab3
10
README.md
10
README.md
|
|
@ -20,8 +20,8 @@ This is the 0.13.x series of sbt.
|
||||||
1. Install the current stable binary release of sbt (see [Setup]), which will be used to build sbt from source.
|
1. Install the current stable binary release of sbt (see [Setup]), which will be used to build sbt from source.
|
||||||
2. Get the source code.
|
2. Get the source code.
|
||||||
|
|
||||||
$ git clone git://github.com/harrah/xsbt.git
|
$ git clone git://github.com/sbt/sbt.git
|
||||||
$ cd xsbt
|
$ cd sbt
|
||||||
|
|
||||||
3. The initial branch is the development branch 0.13, which contains the latest code for the next major sbt release. To build a specific release or commit, switch to the associated tag. The tag for the latest stable release is v0.12.1:
|
3. The initial branch is the development branch 0.13, which contains the latest code for the next major sbt release. To build a specific release or commit, switch to the associated tag. The tag for the latest stable release is v0.12.1:
|
||||||
|
|
||||||
|
|
@ -37,13 +37,13 @@ This is the 0.13.x series of sbt.
|
||||||
|
|
||||||
$ sbt publish-local proguard sxr doc
|
$ sbt publish-local proguard sxr doc
|
||||||
|
|
||||||
5. To use this locally built version of sbt, copy your stable `~/bin/sbt` script to `~/bin/xsbt` and change it to use the launcher jar in `<xsbt>/target/`. For the v0.12.1 tag, the full location is:
|
5. To use this locally built version of sbt, copy your stable `~/bin/sbt` script to `~/bin/xsbt` and change it to use the launcher jar in `<sbt>/target/`. For the v0.12.1 tag, the full location is:
|
||||||
|
|
||||||
<xsbt>/target/sbt-launch-0.12.1.jar
|
<sbt>/target/sbt-launch-0.12.1.jar
|
||||||
|
|
||||||
If using the 0.13 development branch, the launcher is at:
|
If using the 0.13 development branch, the launcher is at:
|
||||||
|
|
||||||
<xsbt>/target/sbt-launch-0.13.0-SNAPSHOT.jar
|
<sbt>/target/sbt-launch-0.13.0-SNAPSHOT.jar
|
||||||
|
|
||||||
## Modifying sbt
|
## Modifying sbt
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -478,7 +478,7 @@ private object IvySbt
|
||||||
/** Combines the artifacts, includes, and excludes of duplicate dependency definitions.
|
/** Combines the artifacts, includes, and excludes of duplicate dependency definitions.
|
||||||
* This is somewhat fragile and is only intended to workaround Ivy (or sbt's use of Ivy) not handling this case properly.
|
* This is somewhat fragile and is only intended to workaround Ivy (or sbt's use of Ivy) not handling this case properly.
|
||||||
* In particular, Ivy will create multiple dependency entries when converting a pom with a dependency on a classified artifact and a non-classified artifact:
|
* In particular, Ivy will create multiple dependency entries when converting a pom with a dependency on a classified artifact and a non-classified artifact:
|
||||||
* https://github.com/harrah/xsbt/issues/468
|
* https://github.com/sbt/sbt/issues/468
|
||||||
* It will also allow users to declare dependencies on classified modules in different configurations:
|
* It will also allow users to declare dependencies on classified modules in different configurations:
|
||||||
* https://groups.google.com/d/topic/simple-build-tool/H2MdAARz6e0/discussion
|
* https://groups.google.com/d/topic/simple-build-tool/H2MdAARz6e0/discussion
|
||||||
* as well as basic multi-classifier handling: #285, #419, #480.
|
* as well as basic multi-classifier handling: #285, #419, #480.
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
[sbt](https://github.com/harrah/xsbt/wiki) is a Scala build tool.
|
[sbt](http://scala-sbt.org) is a Scala build tool.
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Tests if refinement types are pickled correctly so they
|
# Tests if refinement types are pickled correctly so they
|
||||||
# do not introduce unnecessary compile iterations
|
# do not introduce unnecessary compile iterations
|
||||||
# See https://issues.scala-lang.org/browse/SI-6596,
|
# See https://issues.scala-lang.org/browse/SI-6596,
|
||||||
# https://github.com/harrah/xsbt/issues/610
|
# https://github.com/sbt/sbt/issues/610
|
||||||
|
|
||||||
# introduces first compile iteration
|
# introduces first compile iteration
|
||||||
> compile
|
> compile
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ To automatically deploy snapshot/release versions of your plugin use the followi
|
||||||
Available Plugins
|
Available Plugins
|
||||||
=================
|
=================
|
||||||
|
|
||||||
Please feel free to `submit a pull request <https://github.com/harrah/xsbt/pulls>`_ that adds your plugin to the list.
|
Please feel free to `submit a pull request <https://github.com/sbt/sbt/pulls>`_ that adds your plugin to the list.
|
||||||
|
|
||||||
Plugins for IDEs:
|
Plugins for IDEs:
|
||||||
~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ list if you are interested in a specific topic.
|
||||||
- Inter-project source dependencies
|
- Inter-project source dependencies
|
||||||
- Binary dependencies (jars + class files)
|
- Binary dependencies (jars + class files)
|
||||||
- data structure representing the
|
- data structure representing the
|
||||||
`API <https://github.com/harrah/xsbt/tree/0.13/interface>`_ of
|
`API <https://github.com/sbt/sbt/tree/0.13/interface>`_ of
|
||||||
the source code There is some code already for generating dot
|
the source code There is some code already for generating dot
|
||||||
files that isn't hooked up, but graphing dependencies and
|
files that isn't hooked up, but graphing dependencies and
|
||||||
inheritance relationships is a general area of work.
|
inheritance relationships is a general area of work.
|
||||||
|
|
|
||||||
|
|
@ -333,5 +333,5 @@ parallel execution service (``java.util.concurrent.CompletionService``).
|
||||||
This intermediate queue restricts new tasks from being forwarded to the
|
This intermediate queue restricts new tasks from being forwarded to the
|
||||||
``j.u.c.CompletionService`` according to the
|
``j.u.c.CompletionService`` according to the
|
||||||
``sbt.ConcurrentRestrictions`` implementation. See the
|
``sbt.ConcurrentRestrictions`` implementation. See the
|
||||||
`sbt.ConcurrentRestrictions <https://github.com/harrah/xsbt/blob/v0.12.0/tasks/ConcurrentRestrictions.scala>`_
|
`sbt.ConcurrentRestrictions <https://github.com/sbt/sbt/blob/v0.12.0/tasks/ConcurrentRestrictions.scala>`_
|
||||||
API documentation for details.
|
API documentation for details.
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ Install `conscript <https://github.com/n8han/conscript>`_.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cs harrah/xsbt --branch 0.12.0
|
cs sbt/sbt --branch 0.12.0
|
||||||
|
|
||||||
This will create two scripts: ``screpl`` and ``scalas``.
|
This will create two scripts: ``screpl`` and ``scalas``.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -388,7 +388,7 @@ methods, which are used to handle failure of other tasks.
|
||||||
The ``failure`` method creates a new task that returns the ``Incomplete`` value
|
The ``failure`` method creates a new task that returns the ``Incomplete`` value
|
||||||
when the original task fails to complete normally. If the original task succeeds,
|
when the original task fails to complete normally. If the original task succeeds,
|
||||||
the new task fails.
|
the new task fails.
|
||||||
`Incomplete <https://github.com/harrah/xsbt/latest/api/sbt/Incomplete.html>`_
|
`Incomplete <../../api/sbt/Incomplete.html>`_
|
||||||
is an exception with information about any tasks that caused the failure
|
is an exception with information about any tasks that caused the failure
|
||||||
and any underlying exceptions thrown during task execution.
|
and any underlying exceptions thrown during task execution.
|
||||||
|
|
||||||
|
|
@ -443,7 +443,7 @@ A normal task definition fails when any of its inputs fail and computes its valu
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
The ``result`` method creates a new task that returns the full ``Result[T]`` value for the original task.
|
The ``result`` method creates a new task that returns the full ``Result[T]`` value for the original task.
|
||||||
`Result <https://github.com/harrah/xsbt/latest/api/sbt/Result.html>`_
|
`Result <../../api/sbt/Result.html>`_
|
||||||
has the same structure as ``Either[Incomplete, T]`` for a task result of
|
has the same structure as ``Either[Incomplete, T]`` for a task result of
|
||||||
type ``T``. That is, it has two subtypes:
|
type ``T``. That is, it has two subtypes:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -251,7 +251,7 @@ Further references
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
The incremental compilation logic is implemented in
|
The incremental compilation logic is implemented in
|
||||||
https://github.com/harrah/xsbt/blob/0.13/compile/inc/Incremental.scala.
|
https://github.com/sbt/sbt/blob/0.13/compile/inc/Incremental.scala.
|
||||||
Some related documentation for SBT 0.7 is available at:
|
Some related documentation for SBT 0.7 is available at:
|
||||||
https://code.google.com/p/simple-build-tool/wiki/ChangeDetectionAndTesting.
|
https://code.google.com/p/simple-build-tool/wiki/ChangeDetectionAndTesting.
|
||||||
Some discussion on the incremental recompilation policies is available
|
Some discussion on the incremental recompilation policies is available
|
||||||
|
|
|
||||||
|
|
@ -133,7 +133,7 @@ We can change to the plugins project in ``project/`` using
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ xsbt
|
$ sbt
|
||||||
> reload plugins
|
> reload plugins
|
||||||
[info] Set current project to default (in build file:/Users/harrah/demo2/project/)
|
[info] Set current project to default (in build file:/Users/harrah/demo2/project/)
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
<li><a href="{{ pathto('index') }}">Documentation</a></li>
|
<li><a href="{{ pathto('index') }}">Documentation</a></li>
|
||||||
<li><a href="{{ pathto('Getting-Started/Setup') }}">Download</a></li>
|
<li><a href="{{ pathto('Getting-Started/Setup') }}">Download</a></li>
|
||||||
<li><a href="http://groups.google.com/group/simple-build-tool">Mailing List</a></li>
|
<li><a href="http://groups.google.com/group/simple-build-tool">Mailing List</a></li>
|
||||||
<li><a href="http://github.com/harrah/xsbt">Project</a></li>
|
<li><a href="http://github.com/sbt/sbt">Project</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ latex_documents = [
|
||||||
# Issues role
|
# Issues role
|
||||||
|
|
||||||
issuetracker = 'github'
|
issuetracker = 'github'
|
||||||
issuetracker_project = 'harrah/xsbt'
|
issuetracker_project = 'sbt/sbt'
|
||||||
issuetracker_plaintext_issues = True
|
issuetracker_plaintext_issues = True
|
||||||
issuetracker_issue_pattern = r'\bgh-(\d+)\b'
|
issuetracker_issue_pattern = r'\bgh-(\d+)\b'
|
||||||
issuetracker_title_template = '#{issue.id}'
|
issuetracker_title_template = '#{issue.id}'
|
||||||
|
|
@ -86,7 +86,7 @@ rst_epilog = """
|
||||||
.. _RPM: %(sbt_native_package_base)s/%(version)s/sbt.rpm
|
.. _RPM: %(sbt_native_package_base)s/%(version)s/sbt.rpm
|
||||||
.. |nightly-launcher| replace:: <%(launcher_snapshots_base)s
|
.. |nightly-launcher| replace:: <%(launcher_snapshots_base)s
|
||||||
.. _mailing list: http://groups.google.com/group/simple-build-tool/topics
|
.. _mailing list: http://groups.google.com/group/simple-build-tool/topics
|
||||||
.. _source code: http://github.com/harrah/xsbt
|
.. _source code: http://github.com/sbt/sbt
|
||||||
""" % {
|
""" % {
|
||||||
'launcher_release_base': launcher_release_base,
|
'launcher_release_base': launcher_release_base,
|
||||||
'launcher_snapshots_base': launcher_snapshots_base,
|
'launcher_snapshots_base': launcher_snapshots_base,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ Please use the `mailing list`_ for questions, comments, and discussions.
|
||||||
How do I report a bug?
|
How do I report a bug?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Please use the `issue tracker <https://github.com/harrah/xsbt/issues>`_
|
Please use the `issue tracker <https://github.com/sbt/sbt/issues>`_
|
||||||
to report confirmed bugs. Do not use it to ask questions. If you are
|
to report confirmed bugs. Do not use it to ask questions. If you are
|
||||||
uncertain whether something is a bug, please ask on the `mailing list`_ first.
|
uncertain whether something is a bug, please ask on the `mailing list`_ first.
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@ How can I help?
|
||||||
~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
- Fix mistakes that you notice on the wiki.
|
- Fix mistakes that you notice on the wiki.
|
||||||
- Make `bug reports <https://github.com/harrah/xsbt/issues>`_ that are
|
- Make `bug reports <https://github.com/sbt/sbt/issues>`_ that are
|
||||||
clear and reproducible.
|
clear and reproducible.
|
||||||
- Answer questions on the `mailing list`_.
|
- Answer questions on the `mailing list`_.
|
||||||
- Fix issues that affect you. `Fork, fix, and submit a pull
|
- Fix issues that affect you. `Fork, fix, and submit a pull
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ All documentation may be found via the :doc:`table of contents <index>`.
|
||||||
The mailing list is at http://groups.google.com/group/simple-build-tool/topics and should be used for discussions and questions.
|
The mailing list is at http://groups.google.com/group/simple-build-tool/topics and should be used for discussions and questions.
|
||||||
Questions may also be asked at `Stack Overflow <http://stackoverflow.com/tags/sbt>`_.
|
Questions may also be asked at `Stack Overflow <http://stackoverflow.com/tags/sbt>`_.
|
||||||
|
|
||||||
This documentation can be forked `on GitHub <https://github.com/harrah/xsbt/>`_.
|
This documentation can be forked `on GitHub <https://github.com/sbt/sbt/>`_.
|
||||||
Feel free to make corrections and add documentation.
|
Feel free to make corrections and add documentation.
|
||||||
|
|
||||||
If you are familiar with 0.7.x, please see the :doc:`migration page </Detailed-Topics/Migrating-from-sbt-0.7.x-to-0.10.x>`.
|
If you are familiar with 0.7.x, please see the :doc:`migration page </Detailed-Topics/Migrating-from-sbt-0.7.x-to-0.10.x>`.
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ object IO
|
||||||
if(uri.getAuthority eq null)
|
if(uri.getAuthority eq null)
|
||||||
new File(uri)
|
new File(uri)
|
||||||
else {
|
else {
|
||||||
/* https://github.com/harrah/xsbt/issues/564
|
/* https://github.com/sbt/sbt/issues/564
|
||||||
* http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx
|
* http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx
|
||||||
* http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5086147
|
* http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5086147
|
||||||
* The specific problem here is that `uri` will have a defined authority component for UNC names like //foo/bar/some/path.jar
|
* The specific problem here is that `uri` will have a defined authority component for UNC names like //foo/bar/some/path.jar
|
||||||
|
|
|
||||||
|
|
@ -403,7 +403,7 @@ private[sbt] class SimpleProcessBuilder(p: JProcessBuilder) extends AbstractProc
|
||||||
/** A thin wrapper around a java.lang.Process. `outputThreads` are the Threads created to read from the
|
/** A thin wrapper around a java.lang.Process. `outputThreads` are the Threads created to read from the
|
||||||
* output and error streams of the process.
|
* output and error streams of the process.
|
||||||
* The implementation of `exitValue` wait for the process to finish and then waits until the threads reading output and error streams die before
|
* The implementation of `exitValue` wait for the process to finish and then waits until the threads reading output and error streams die before
|
||||||
* returning. Note that the thread that reads the input stream cannot be interrupted, see https://github.com/harrah/xsbt/issues/327 and
|
* returning. Note that the thread that reads the input stream cannot be interrupted, see https://github.com/sbt/sbt/issues/327 and
|
||||||
* http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4514257 */
|
* http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4514257 */
|
||||||
private class SimpleProcess(p: JProcess, outputThreads: List[Thread]) extends Process
|
private class SimpleProcess(p: JProcess, outputThreads: List[Thread]) extends Process
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue