Skip to content

Commit

Permalink
initiate release 3.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cprudhom committed Nov 17, 2014
1 parent 1ebf8fd commit 5128423
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 19 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ This file is dedicated to sum up the new features added and bugs fixed in Choco
NEXT MILESTONE
-------------------


3.2.2 - 17 Nov 2014
-------------------

- Fix #240: add notmember(IntVar, SetVar) constraint (more efficient than not(member))
- Fix #225: fix PropCostRegular, wrt to S.Demassey instructions.
- Fix #229: create MasterSolver and SlaveSolver classes to deal with multi-thread resolution
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Choco3 is an open-source Java library for Constraint Programming.

Choco3 is not the continuation of Choco2, but a completely rewritten version and there is no backward compatibility.

Current stable version is 3.2.1 (13 Oct 2014).
Current stable version is 3.2.2 (17 Nov 2014).

Choco3 comes with:
- various type of variables (integer, boolean, set, graph and real),
Expand Down Expand Up @@ -48,11 +48,11 @@ In the following, we distinguish two usages of Choco:
- as a standalone application: the jar file includes all required dependencies and configuration file (that is, `logback.xml`),
- as a library: the jar file excludes all dependencies and configuration file (that is, `logback.xml`).

The name of the jar file terms the packaging: `choco-solver-3.2.1-with-dependencies.jar` or `choco-solver-3.2.1.jar`.
The name of the jar file terms the packaging: `choco-solver-3.2.2-with-dependencies.jar` or `choco-solver-3.2.2.jar`.

The jar files can be downloaded from this URL:

* http://www.emn.fr/z-info/choco-repo/mvn/repository/choco/choco-solver/3.2.1/
* http://www.emn.fr/z-info/choco-repo/mvn/repository/choco/choco-solver/3.2.2/

### As a stand-alone application ###

Expand Down Expand Up @@ -88,7 +88,7 @@ Next, just declare the following library dependency:
<dependency>
<groupId>choco</groupId>
<artifactId>choco-solver</artifactId>
<version>3.2.1</version>
<version>3.2.2</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion choco-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<artifactId>choco</artifactId>
<groupId>choco</groupId>
<version>3.2.2-SNAPSHOT</version>
<version>3.2.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>choco-samples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion choco-solver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<artifactId>choco</artifactId>
<groupId>choco</groupId>
<version>3.2.2-SNAPSHOT</version>
<version>3.2.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>choco-solver</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions choco-solver/src/main/resources/configuration.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
##

# Welcome message, print out when trace is on
WELCOME_TITLE=** Choco 3.2.2-SNAPSHOT (2014-10) : Constraint Programming Solver, Copyleft (c) 2010-2014
WELCOME_TITLE=** Choco 3.2.2 (2014-11) : Constraint Programming Solver, Copyleft (c) 2010-2014

## Configuration parameters

Expand Down Expand Up @@ -85,4 +85,4 @@ MAX_TUPLES_FOR_TABLE_SUBS = 10000
SEARCH_BINDER_PATH="solver/search/bind/impl/StaticBinder.class"

# Compact the MMD at the end of tuples addition, or during the addition
COMPACT_MDD_ONLY_ONCE=true
COMPACT_MDD_ONLY_ONCE=true
2 changes: 1 addition & 1 deletion docs/source/3_solving.rst
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ On a call to ``Chatterbox.printVersion()``, the following message will be printe

.. code-block:: none
** Choco 3.2.0 (2014-05) : Constraint Programming Solver, Copyleft (c) 2010-2014
** Choco 3.2.2 (2014-11) : Constraint Programming Solver, Copyleft (c) 2010-2014
On a call to ``Chatterbox.printVersion()``, the following message will be printed:

Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
# built documents.
#
# The short X.Y version.
version = '3.2'
version = '3'
# The full version, including alpha/beta/rc tags.
release = '3.2.1-SNAPSHOT'
release = '3.2.2'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -175,7 +175,7 @@
#html_show_sphinx = True

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
#html_show_copyright = True
#html_show_copyright = u'2014, Jean-Guillaume Fages, Xavier Lorca, Charles Prud\'homme'

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>choco</groupId>
<artifactId>choco</artifactId>
<packaging>pom</packaging>
<version>3.2.2-SNAPSHOT</version>
<version>3.2.2</version>
<name>Choco-${project.version}: an Open-Source Constraint Solver</name>
<url>http://choco-solver.org/</url>

Expand Down
8 changes: 7 additions & 1 deletion src/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ And update README.md with the correct versions of dependencies

./src/scripts/release.sh

7. Then, everything is achieved by Travis. However, deployment and zip file (jar files, user guide, logback configuration file and javadoc) need to be done locally:

7. Then, everything is achieved by Travis.
Or, one can run the command by itself:

./src/scripts/build.sh

However, deployment and zip file (jar files, user guide, logback configuration file and javadoc) need to be done locally:

./src/scripts/package.sh X.Y.Z

Expand Down
10 changes: 5 additions & 5 deletions src/scripts/set_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ then
# Update of the version number for maven usage

sedInPlace "s%Current stable version is .*.%Current stable version is $VERSION ($d).%" README.md
sedInPlace "s%The name of the jar file terms the packaging: .*%The name of the jar file terms the packaging: `choco\-solver\-$VERSION\-with\-dependencies\.jar` or `choco\-solver\-$VERSION.jar`.%" README.md
sedInPlace "s%$REPO_URL.*choco\-solver.*%$REPO_URL/choco\-solver/$VERSION/%" README.md
sedInPlace "s%The name of the jar file terms the packaging: .*%The name of the jar file terms the packaging: \`choco\-solver\-$VERSION\-with\-dependencies\.jar\` or \`choco\-solver\-$VERSION.jar\`.%" README.md
sedInPlace "s%<version>.*</version>%<version>$VERSION</version>%" README.md
sedInPlace "s%Choco3 is distributed.*.%Choco3 is distributed under BSD licence \(Copyright \(c\) 1999-$YEAR, Ecole des Mines de Nantes).%" README.md
sedInPlace "s%$REPO_URL.*choco\-solver.*%$REPO_URL/choco\-solver/$VERSION/%" README.md

## The configuration file
sedInPlace "s%WELCOME_TITLE=.*%WELCOME_TITLE=** Choco $VERSION \($DAT\) : Constraint Programming Solver, Copyleft \(c\) 2010-$YEAR%" choco-solver/src/main/resources/configuration.properties

## The doc
sedInPlace "s%** Choco .*%** Choco $VERSION \($DAT\) : Constraint Programming Solver, Copyleft \(c\) 2010-$YEAR%" docs/source/3_solving.rst
sedInPlace "s%\*\* Choco .*%** Choco $VERSION \($DAT\) : Constraint Programming Solver, Copyleft \(c\) 2010-$YEAR%" docs/source/3_solving.rst

## The CHANGES.md
# replace the 'NEXT MILESTONE' version by VERSION
Expand All @@ -64,8 +64,8 @@ then
\
' CHANGES.md

REGEX="s%release = *%release = ${VERSION}%"
sedInPlace "${REGEX}" ./docs/source/conf.py
sedInPlace "s%copyright = .*%copyright = u'${YEAR}, Jean-Guillaume Fages, Xavier Lorca, Charles Prud\\\'homme'%" ./docs/source/conf.py
sedInPlace "s%release = .*%release = '${VERSION}'%" ./docs/source/conf.py

cd ./docs/
make latexpdf
Expand Down
Binary file modified user_guide.pdf
Binary file not shown.

0 comments on commit 5128423

Please sign in to comment.