Skip to content

Issue & Project Tracking Software created with OpenXava

License

Notifications You must be signed in to change notification settings

openxava/xavaprojects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XavaProjects

XavaProjects is an issue and project tracking application for software projects written with OpenXava. For more information go to XavaProjects site.

Prerequisites

You need Java and Maven installed

Adjust dependencies

Edit the pom.xml and remove or comment the next dependencies:

<!-- For XavaPro --> 
<dependency>
	<groupId>com.openxava</groupId>
	<artifactId>xavapro</artifactId>
	<version>${openxava.version}</version>
</dependency>	
	
<dependency>
	<groupId>org.openxava</groupId>
	<artifactId>xavaprojects-email-conf</artifactId>
	<version>1.0</version>
</dependency>

Then in the same pom.xml uncomment the next dependency:

<!-- For plain OpenXava --> 
<dependency>
	<groupId>org.openxava</groupId>
	<artifactId>openxava</artifactId>
	<version>${openxava.version}</version>
</dependency>		

Build the project

From command line prompt inside xavaprojects folder type:

mvn clean package -Dmaven.test.skip

Configure database

You need to have installed and running a MySQL database. If not, go to MySQL site and download and install it. Edit the xavaprojects/src/main/webapp/META-INF/context.xml file to put the correct user name and password for your MySQL database:

<Resource name="jdbc/xavaprojectsDS" auth="Container" type="javax.sql.DataSource"
	maxTotal="20" maxIdle="5" maxWaitMillis="10000"
	username="YOUR USERNAME HERE" 
	password="YOUR PASSWORD HERE" 
	driverClassName="com.mysql.cj.jdbc.Driver"
	url="jdbc:mysql://localhost:3306?serverTimezone=GMT%2B1"/>

Fill the username and password attributes.

Run XavaProjects

To run XavaProjects in Windows:

java -cp "target/xavaprojects/WEB-INF/classes;target/xavaprojects/WEB-INF/lib/*" org.openxava.xavaprojects.run.xavaprojects

To run XavaProjects in Linux or Mac:

java -cp "target/xavaprojects/WEB-INF/classes:target/xavaprojects/WEB-INF/lib/*" org.openxava.xavaprojects.run.xavaprojects

The difference is the separator ; or : Also you should be able to use it from Eclipse, IntelliJ, NetBeans, Visual Studio Code or any other IDE with Maven support.

Any problem?

Put a question in the OpenXava public forum.