Skip to content

Commit

Permalink
Nuked version numbers with sed.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed May 15, 2021
1 parent 62ad6b9 commit db1602f
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion bin/build-lfc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if [ ! "$0" = "${0##*/*}" ]; then # Do we have a parent directory?
fi
base="${base}../"
lfbase="${base}org.lflang/"
jarpath="${lfbase}build/libs/org.lflang-1.0.0-SNAPSHOT-all.jar"
jarpath="${lfbase}build/libs/org.lflang-0.1-alpha-all.jar"

if [ $clean -eq 1 ]; then
echo "Performing cleanup."
Expand Down
2 changes: 1 addition & 1 deletion bin/lfc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ ! "$0" = "${0##*/*}" ]; then # Do we have a parent directory?
fi
base="${base}../"
lfbase="${base}org.lflang/"
jarpath="${lfbase}build/libs/org.lflang-1.0.0-SNAPSHOT-all.jar"
jarpath="${lfbase}build/libs/org.lflang-0.1-alpha-all.jar"

# Report fatal error.
function fatal_error() {
Expand Down
2 changes: 1 addition & 1 deletion bin/lfc.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

$base="$PSScriptRoot\.."
$lfbase="$base\org.lflang"
$jarpath="$lfbase\build\libs\org.lflang-1.0.0-SNAPSHOT-all.jar"
$jarpath="$lfbase\build\libs\org.lflang-0.1-alpha-all.jar"

# if there is no jar file, then build it first
if (-not (Test-Path $jarpath -PathType leaf)) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ subprojects {
apply plugin: 'eclipse'

group = 'org.lflang'
version = '1.0.0-SNAPSHOT'
version = '0.1-alpha'

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
Expand Down
4 changes: 2 additions & 2 deletions maven.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ The [workaround](https://stackoverflow.com/questions/7905501/get-rid-of-pom-not-
cd ../maven-xtext-example
mvn site

#### [ERROR] Failed to execute goal on project my.mavenized.herolanguage.ide: Could not resolve dependencies for project my.mavenized.herolanguage:my.mavenized.herolanguage.ide:eclipse-plugin:1.0.0-SNAPSHOT: Could not find artifact my.mavenized.herolanguage:my.mavenized.herolanguage:jar:1.0.0-SNAPSHOT
#### [ERROR] Failed to execute goal on project my.mavenized.herolanguage.ide: Could not resolve dependencies for project my.mavenized.herolanguage:my.mavenized.herolanguage.ide:eclipse-plugin:0.1-alpha: Could not find artifact my.mavenized.herolanguage:my.mavenized.herolanguage:jar:0.1-alpha

While running ```mvn site```:

[ERROR] Failed to execute goal on project my.mavenized.herolanguage.ide: Could not resolve dependencies for project my.mavenized.herolanguage:my.mavenized.herolanguage.ide:eclipse-plugin:1.0.0-SNAPSHOT: Could not find artifact my.mavenized.herolanguage:my.mavenized.herolanguage:jar:1.0.0-SNAPSHOT -> [Help 1]
[ERROR] Failed to execute goal on project my.mavenized.herolanguage.ide: Could not resolve dependencies for project my.mavenized.herolanguage:my.mavenized.herolanguage.ide:eclipse-plugin:0.1-alpha: Could not find artifact my.mavenized.herolanguage:my.mavenized.herolanguage:jar:0.1-alpha -> [Help 1]

Try running
mvn install
Expand Down
2 changes: 1 addition & 1 deletion org.lflang.diagram/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.diagram</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang.ide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.ide</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang.product/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.product</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions org.lflang.rca/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
<artifactId>org.lflang.rca</artifactId>
<packaging>eclipse-repository</packaging>
<name>Lingua Franca RCA</name>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang.sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.sdk</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions org.lflang.targetplatform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
<artifactId>org.lflang.targetplatform</artifactId>
<packaging>eclipse-target-definition</packaging>
<name>Lingua Franca Target Platform</name>

<parent>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion org.lflang.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang.ui.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.ui.tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang.ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.ui</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang.updatesite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang.updatesite</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<relativePath>../pom.xml</relativePath>
<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</parent>

<artifactId>org.lflang</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion org.lflang/src/org/lflang/generator/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ private void rebuildOrExit() {
* @return
*/
private boolean rebuildAndFork() {
// jar:file:<root>org.lflang.linguafranca/build/libs/org.lflang.linguafranca-1.0.0-SNAPSHOT-all.jar!/org/icyphy/generator/Main.class
// jar:file:<root>org.lflang.linguafranca/build/libs/org.lflang.linguafranca-0.1-alpha-all.jar!/org/icyphy/generator/Main.class
if (needsUpdate()) {
// Only rebuild if the jar is out-of-date.
printInfo("Jar file is missing or out-of-date; running Gradle.");
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>org.lflang</groupId>
<artifactId>lf</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
<packaging>pom</packaging>

<name>Lingua Franca</name>
Expand Down Expand Up @@ -172,7 +172,7 @@
<artifact>
<groupId>org.lflang</groupId>
<artifactId>org.lflang.targetplatform</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>0.1-alpha</version>
</artifact>
</target>
<environments>
Expand Down

0 comments on commit db1602f

Please sign in to comment.