Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ibis4example</name>
<name>ibis4template</name>
<comment></comment>
<projects>
</projects>
Expand Down
8 changes: 4 additions & 4 deletions .settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="ibis4example">
<wb-module deploy-name="ibis4template">
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module deploy-path="/" handle="module:/overlay/var/M2_REPO/org/ibissource/ibis-adapterframework-webapp/7.1-B1/ibis-adapterframework-webapp-7.1-B1.war?unpackFolder=target/m2e-wtp/overlays&amp;includes=**/**&amp;excludes=META-INF/MANIFEST.MF">
<dependent-module deploy-path="/" handle="module:/overlay/var/M2_REPO/org/ibissource/ibis-adapterframework-webapp/7.2/ibis-adapterframework-webapp-7.2.war?unpackFolder=target/m2e-wtp/overlays&amp;includes=**/**&amp;excludes=META-INF/MANIFEST.MF">
<dependency-type>consumes</dependency-type>
</dependent-module>
<dependent-module deploy-path="/" handle="module:/overlay/slf/?includes=**/**&amp;excludes=META-INF/MANIFEST.MF">
<dependency-type>consumes</dependency-type>
</dependent-module>
<property name="context-root" value="ibis4example"/>
<property name="java-output-path" value="/ibis4example/target/classes"/>
<property name="java-output-path" value="/ibis4template/target/classes"/>
<property name="component.exclusion.patterns"/>
<property name="context-root" value="ibis4template"/>
</wb-module>
</project-modules>
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@


## Purpose
The ibis4example project is meant as a starterkit for creating a new ibis applications.
## What is ibis
An ibis is an application is an implementation of the IAF (Ibis Adapter Framework) and can be used to build backend applications or integration component wich will run on any java machine
The ibis4template project is meant as a starter kit for creating a new ibis application.
## What is Ibis
An ibis is an application is an implementation of the IAF (Ibis Adapter Framework) and can be used to build backend applications or integration component which will run on any Java machine.
*******
## Getting started
Eclipse
Expand All @@ -26,7 +26,7 @@ Eclipse
Window, Preferences, Maven, User Settings, settings.xml should exist and contain proxy configuration.
+ Git
Window, Open Perspective, Other..., Git, OK,
Clone a Git repository, URI: https://github.com/ibissource/ibis4example.git, Next, Next, Finish.
Clone a Git repository, URI: https://github.com/ibissource/ibis4template.git, Next, Next, Finish.
+ Install Server
If no servers are available. Click this link to create a new server...,
Apache, Tomcat v7.0 Server or higher, Next, Browse..., select the root folder of a Tomcat installation
Expand All @@ -36,17 +36,17 @@ Eclipse
Double click Tomcat v7.0 Server at localhost, Open launch configuration, Arguments, VM arguments, add ```-Dotap.stage=LOC```, OK
Next click Modules tab, Add Web Module..., iaf-example, OK, File, Save
Right click Tomcat v7.0 Server at localhost, Start.
+ Start ibis4example on your local machine
Open a webbrowser and goto [http://localhost:8080/ibis4example/](http://localhost:8080/ibis4example/) to check if ibis4example is running
+ Start ibis4template on your local machine
Open a webbrowser and goto [http://localhost:8080/ibis4template/](http://localhost:8080/ibis4template/) to check if ibis4template is running

### Trouble shooting
In some cases you might want/need to:
- Rightclick ibis4example, Maven, Update Project..., OK.
- Rightclick ibis4template, Maven, Update Project..., OK.
- Enable Project, Build Automatically
- Right click Tomcat v7.0 Server at localhost, Clean...
- Change newlines in .classpath and org.eclipse.wst.common.component files
back to Unix newlines.
- Rightclick pom.xml (in ibis4example), Run As, Maven build..., JRE, make sure a JDK
- Rightclick pom.xml (in ibis4template), Run As, Maven build..., JRE, make sure a JDK
(not a JRE) is used, Refresh, Refresh resources upon completion,
- The local Maven repository might contain corrupt jar files which for example
will result in java.lang.NoClassDefFoundError:
Expand All @@ -61,8 +61,8 @@ Command-line interface

Initial:

- git clone https://github.com/ibissource/ibis4example
- cd ibis4example
- git clone https://github.com/ibissource/ibis4template
- cd ibis4template
- mvn
- cd example
- mvn jetty:run
Expand Down
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ phases:
artifacts:
files:
- '**/*'
base-directory: target/ibis4example-*
base-directory: target/ibis4template-*
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.ibissource</groupId>
<artifactId>ibis4example</artifactId>
<artifactId>ibis4template</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Ibis4Example</name>
<name>Ibis4Template</name>
<description>test project</description>
<url>ibis4example.ibissource.org</url>
<url>ibis4template.ibissource.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/Configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!ENTITY HelloWorld SYSTEM "ConfigurationHelloWorld.xml">
<!ENTITY HelloWorlds SYSTEM "ConfigurationHelloWorlds.xml">
]>
<configuration name="Ibis4Example">
<configuration name="Ibis4Template">
<jmsRealms>
<jmsRealm realmName="jdbc" datasourceName="jdbc/${instance.name.lc}"/>
<!-- jmsRealm realmName="qcf" queueConnectionFactoryName="jms/qcf"/ -->
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/DeploymentSpecifics.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# The values in this file override the values in AppConstants.properties

# the name of this instance of the AdapterFramework
instance.name=Ibis4Example
instance.name=Ibis4Template

active.ifsa=false
active.config.database=false
jdbc.migrator.active=true

jdbc.convertFieldnamesToUppercase=true

#Ibis4Example
#Ibis4Template

HelloWorld.active=true
HelloWorlds.active=true
Expand Down