Skip to content

Commit

Permalink
tag release 1.5.1
Browse files Browse the repository at this point in the history
svn-rev: tags/release_1_5_1@800
  • Loading branch information
lsf37 committed Mar 21, 2014
2 parents b998f1a + a827f66 commit 4c0cb42
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 31 deletions.
10 changes: 5 additions & 5 deletions jflex-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>jflex-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>JFlex Maven Plugin</name>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<description>
This is a Maven 2 plugin to generate a parser in Java code from
a Lexer definition, using JFlex.
Expand Down Expand Up @@ -172,7 +172,7 @@
<dependency>
<groupId>de.jflex</groupId>
<artifactId>jflex</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down Expand Up @@ -278,9 +278,9 @@
</plugins>
</reporting>
<scm>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/trunk</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/trunk</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/trunk</url>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/tags/release_1_5_1</url>
</scm>
<profiles>
<profile>
Expand Down
8 changes: 4 additions & 4 deletions jflex-unicode-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>de.jflex</groupId>
<artifactId>jflex-parent</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>jflex-unicode-maven-plugin</artifactId>
Expand Down Expand Up @@ -71,9 +71,9 @@
</dependency>
</dependencies>
<scm>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/trunk</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/trunk</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/trunk</url>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/tags/release_1_5_1</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion jflex/bin/jflex
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ JFLEX_HOME=${PRG}/..

# --------------------------------------------------------------------

$JAVA -Xmx128m -jar $JFLEX_HOME/lib/JFlex.jar $@
$JAVA -Xmx128m -jar $JFLEX_HOME/lib/jflex-1.5.1.jar $@
2 changes: 1 addition & 1 deletion jflex/bin/jflex.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ REM (please do not add a trailing backslash)

set JFLEX_HOME=C:\JFLEX

java -Xmx128m -jar %JFLEX_HOME%\lib\JFlex.jar %1 %2 %3 %4 %5 %6 %7 %8 %9
java -Xmx128m -jar %JFLEX_HOME%\lib\jflex-1.5.1.jar %1 %2 %3 %4 %5 %6 %7 %8 %9
2 changes: 1 addition & 1 deletion jflex/examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<plugin>
<groupId>de.jflex</groupId>
<artifactId>jflex-maven-plugin</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<executions>
<execution>
<goals>
Expand Down
8 changes: 4 additions & 4 deletions jflex/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>de.jflex</groupId>
<artifactId>jflex-parent</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>JFlex</name>
Expand All @@ -23,9 +23,9 @@
</license>
</licenses>
<scm>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/trunk</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/trunk</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/trunk</url>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/tags/release_1_5_1</url>
</scm>
<developers>
<developer>
Expand Down
2 changes: 1 addition & 1 deletion jflex/src/main/java/jflex/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
public class Main {

/** JFlex version */
final public static String version = "1.5.1-SNAPSHOT"; //$NON-NLS-1$
final public static String version = "1.5.1"; //$NON-NLS-1$

/**
* Generates a scanner for the specified input file.
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>de.jflex</groupId>
<artifactId>jflex-parent</artifactId>
<name>JFlex parent and aggregator POM</name>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<packaging>pom</packaging>
<url>http://jflex.de</url>
<description>JFlex parent and aggregator POM</description>
Expand Down Expand Up @@ -88,9 +88,9 @@
</issueManagement>

<scm>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/trunk</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/trunk</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/trunk</url>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/tags/release_1_5_1</url>
</scm>

<dependencyManagement>
Expand Down
6 changes: 6 additions & 0 deletions post-release.pl
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@
system (qq!perl -pi -e "s/\Q$latest_release\E/$snapshot/"!
. q! testsuite/jflex-testsuite-maven-plugin/src/main/java/jflextest/Exec.java !);


print " updating version in bin/jflex*";
system (qq!perl -pi -e "s/\Q$latest_release\E/$snapshot/" jflex/bin/jflex !);
system (qq!perl -pi -e "s/\Q$latest_release\E/$snapshot/" jflex/bin/jflex.bat !);
print "\ndone.\n\n";

# <property name="bootstrap.version" value="1.5.0" />
# <property name="version" value="1.5.1-SNAPSHOT" />
print "Updating version -> $snapshot and",
Expand Down
5 changes: 5 additions & 0 deletions prepare-release.pl
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@
system ('perl -pi -e "s/-SNAPSHOT//" testsuite/jflex-testsuite-maven-plugin/src/main/java/jflextest/Exec.java ');
print "\ndone.\n\n";

print " updating version in bin/jflex*";
system ('perl -pi -e "s/-SNAPSHOT//" jflex/bin/jflex');
system ('perl -pi -e "s/-SNAPSHOT//" jflex/bin/jflex.bat');
print "\ndone.\n\n";

print "Committing the changed POMs ...\n";
my $ret_val = system
(qq!svn ci -m "JFlex <version>s -> $release and SCM URLs -> /tags/$tag"!);
Expand Down
12 changes: 6 additions & 6 deletions testsuite/jflex-testsuite-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>de.jflex</groupId>
<artifactId>jflex-parent</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>jflex-testsuite-maven-plugin</artifactId>
Expand Down Expand Up @@ -44,7 +44,7 @@
<plugin>
<groupId>de.jflex</groupId>
<artifactId>jflex-maven-plugin</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<executions>
<execution>
<goals>
Expand Down Expand Up @@ -113,7 +113,7 @@
<dependency>
<groupId>de.jflex</groupId>
<artifactId>jflex</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
</dependency>
<dependency>
<!-- If this dependency is not included, the Ant Javac task can't find -->
Expand All @@ -130,9 +130,9 @@
</dependency>
</dependencies>
<scm>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/trunk</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/trunk</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/trunk</url>
<connection>scm:svn:http://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</connection>
<developerConnection>scm:svn:https://svn.code.sf.net/p/jflex/code/tags/release_1_5_1</developerConnection>
<url>http://sourceforge.net/p/jflex/code/HEAD/tree/tags/release_1_5_1</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static void main(String args[]) {
System.out.println
("class:\n"
+ execClass("jflextest.Main", ".", new ArrayList<String>(), files,
"1.5.1-SNAPSHOT", "UTF-8"));
"1.5.1", "UTF-8"));
} catch (UnsupportedEncodingException e) {
System.out.println("UTF-8 is not a supported encoding.");
System.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>de.jflex</groupId>
<artifactId>jflex-parent</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>jflex-testsuite-parent</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions testsuite/testcases/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>de.jflex</groupId>
<artifactId>jflex-parent</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>jflex-testsuite-testcases</artifactId>
Expand All @@ -26,7 +26,7 @@
<dependency>
<groupId>de.jflex</groupId>
<artifactId>jflex</artifactId>
<version>1.5.1-SNAPSHOT</version>
<version>1.5.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 4c0cb42

Please sign in to comment.