Skip to content

Commit

Permalink
Hello world on open shift.
Browse files Browse the repository at this point in the history
  • Loading branch information
matejonnet committed May 23, 2012
1 parent 3394c27 commit 52d47ef
Show file tree
Hide file tree
Showing 60 changed files with 792 additions and 220 deletions.
10 changes: 8 additions & 2 deletions .openshift/action_hooks/build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# could be python, php, ruby, etc.

CEYLON_HOME="${OPENSHIFT_REPO_DIR}.openshift/ceylon/"
CEYLON_REPO="${OPENSHIFT_RUNTIME_DIR}.ceylon-repo"
CEYLON_REPO="${OPENSHIFT_RUNTIME_DIR}ceylon-repo/"
CEYLON_RUNTIME_REPO="${OPENSHIFT_REPO_DIR}.openshift/ceylon/repo/"

ceyonSrc="${OPENSHIFT_REPO_DIR}/src/main/ceylon/"

Expand All @@ -18,5 +19,10 @@ then
mkdir $CEYLON_REPO
fi

${CEYLON_HOME}bin/ceylonc -src ${ceyonSrc} -rep ${CEYLON_REPO} -out ${CEYLON_REPO} ${srcFilesInLine} > ${OPENSHIFT_LOG_DIR}ceyon-build.log
if test \! -d "$CEYLON_RUNTIME_REPO"
then
mkdir $CEYLON_RUNTIME_REPO
fi

${CEYLON_HOME}bin/ceylonc -target 1.6 -source 1.6 -src ${ceyonSrc} -rep ${CEYLON_RUNTIME_REPO} -out ${CEYLON_RUNTIME_REPO} ${srcFilesInLine}

2 changes: 1 addition & 1 deletion .openshift/ceylon/bin/args.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is intended to be sourced, not run directly

CEYLON_VERSION=0.2
CEYLON_VERSION=0.3

# resolve links - $0 may be a softlink
PRG="$0"
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f647bf4f6a2f403ba4de6a3bb9be81b16f5e6987
d0205f6086dc80348ac63f09060e7784664627a5
Binary file not shown.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e9a0f89b0af4596464367d9b9785e59164a38848
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0a5e42dc34cb7403bbd3a48af26e37aedb0218c0
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
com/redhat/ceylon/cmr/api

com
META-INF/maven
META-INF/maven/com.redhat.ceylon.cmr/cmr-api
META-INF/maven/com.redhat.ceylon.cmr
com/redhat
com/redhat/ceylon
com/redhat/ceylon/cmr
META-INF
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

com
META-INF/maven/com.redhat.ceylon.cmr/cmr-impl
META-INF/maven
com/redhat/ceylon/cmr/impl
META-INF/maven/com.redhat.ceylon.cmr
com/redhat
com/redhat/ceylon
com/redhat/ceylon/cmr
META-INF
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

com
META-INF/maven
com/redhat/ceylon/cmr/spi
META-INF/maven/com.redhat.ceylon.cmr
com/redhat
com/redhat/ceylon
META-INF/maven/com.redhat.ceylon.cmr/cmr-spi
com/redhat/ceylon/cmr
META-INF
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8b33a0ddd214ee8763d7d5ed5db01be5b1d4d864
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bd9a1f066fc35aec6d73afe78db55c457b39978a
4e219445a0f36d6ed9a1b54d70542359ce8e367d
Binary file not shown.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
71dd2663ecb69a570d9ac7be65690ccaded2e2e5
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4499e1e222464fa5cbe9d20dc52c91d3ae9a7db
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
998bea900ddc17c768c8a0d79a2f9b2009449638 *com.redhat.ceylon.typechecker-0.3.jar
Binary file not shown.
3 changes: 0 additions & 3 deletions .openshift/config/modules/README

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ceylon/language

com
com/redhat/ceylon/compiler
ceylon/language/descriptor
com/redhat/ceylon/compiler/java/language
com/redhat/ceylon/compiler/java
ceylon
com/redhat
com/redhat/ceylon/compiler/java/metadata
com/redhat/ceylon
META-INF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2011, Red Hat, Inc., and individual contributors
~ Copyright 2010, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
Expand All @@ -22,10 +22,11 @@
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<module xmlns="urn:jboss:module:1.1" name="com.redhat.ceylon.module-resolver">
<module xmlns="urn:jboss:module:1.0" name="ceylon.language" slot="0.2">
<resources>
<resource-root path="module-resolver-0.2.jar"/>
<!-- Insert resources here -->
<resource-root path="ceylon.language-0.2.car"/>
</resources>

<dependencies>
</dependencies>
</module>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ceylon/language

com
com/redhat/ceylon/compiler
ceylon/language/descriptor
com/redhat/ceylon/compiler/java/language
com/redhat/ceylon/compiler/java
ceylon
com/redhat
com/redhat/ceylon/compiler/java/metadata
com/redhat/ceylon
META-INF
32 changes: 32 additions & 0 deletions .openshift/config/modules/ceylon/language/0.3/module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2010, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
~ published by the Free Software Foundation; either version 2.1 of
~ the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<module xmlns="urn:jboss:module:1.0" name="ceylon.language" slot="0.3">
<resources>
<resource-root path="ceylon.language-0.3.car"/>
</resources>

<dependencies>
</dependencies>
</module>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

ceylon/modules/jboss/repository
ceylon/modules/api/runtime
ceylon/modules/spi
ceylon/modules/jboss
META-INF
ceylon/modules/spi/runtime
ceylon/modules
ceylon/modules/api/util
ceylon/modules/api
ceylon/modules/api/compiler
ceylon
ceylon/modules/jboss/runtime
12 changes: 6 additions & 6 deletions .openshift/config/modules/ceylon/runtime/main/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2011, Red Hat, Inc., and individual contributors
~ Copyright 2010, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
Expand All @@ -22,16 +22,16 @@
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<module xmlns="urn:jboss:module:1.1" name="ceylon.runtime">
<module xmlns="urn:jboss:module:1.0" name="ceylon.runtime">
<resources>
<resource-root path="runtime.jar"/>
<!-- Insert resources here -->
<resource-root path="ceylon.runtime.jar"/>
</resources>

<main-class name="ceylon.modules.Main"/>

<dependencies>
<module name="ceylon.language" slot="0.3"/>
<module name="com.redhat.ceylon.module-resolver" slot="0.3"/>
<module name="org.jboss.modules"/>
<module name="com.redhat.ceylon.module-resolver"/>
</dependencies>

</module>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
com/redhat/ceylon/cmr/api

com
META-INF/maven
META-INF/maven/com.redhat.ceylon.cmr/cmr-api
META-INF/maven/com.redhat.ceylon.cmr
com/redhat
com/redhat/ceylon
com/redhat/ceylon/cmr
META-INF
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

com
META-INF/maven/com.redhat.ceylon.cmr/cmr-impl
META-INF/maven
com/redhat/ceylon/cmr/impl
META-INF/maven/com.redhat.ceylon.cmr
com/redhat
com/redhat/ceylon
com/redhat/ceylon/cmr
META-INF
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

com
META-INF/maven
com/redhat/ceylon/cmr/spi
META-INF/maven/com.redhat.ceylon.cmr
com/redhat
com/redhat/ceylon
META-INF/maven/com.redhat.ceylon.cmr/cmr-spi
com/redhat/ceylon/cmr
META-INF
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5eb351f43582e1144cf9a3e6980ddd09fdd7ceb5
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d4499e1e222464fa5cbe9d20dc52c91d3ae9a7db
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2010, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
~ published by the Free Software Foundation; either version 2.1 of
~ the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<module xmlns="urn:jboss:module:1.0" name="com.redhat.ceylon.module-resolver" slot="0.3">
<resources>
<resource-root path="com.redhat.ceylon.module-resolver-0.3.jar"/>
</resources>

<dependencies>
<module name="org.jboss.jandex"/>
</dependencies>
</module>
Loading

0 comments on commit 52d47ef

Please sign in to comment.