|
This document is intended to serve as an IntelliJ IDEA setup guide for those who have a Crowd source license and wish to customise Crowd 1.2.2 or later. For support beyond this document, please see answers from the community.. |
TOMCAT.JDBC.mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/jta-1_0_1B-classes.zip
mvn install:install-file -DgroupId=javax.mail -DartifactId=mail -Dversion=1.3.2 -Dpackaging=jar -Dfile=/path/to/mail.jar
mvn install:install-file -DgroupId=javax.activation -DartifactId=jaf -Dversion=1.1 -Dpackaging=jar -Dfile= -Dfile=/path/to/activation.jar
SOURCE.JDBC/mysql-connector-java-5.x.x-bin.jar to the TOMCAT/common/lib/ directory.TOMCAT/common/lib/ directory.TOMCAT/common/lib/ directory.TOMCAT/conf/context.xml configuration file to add a global JNDI JDBC connection. Make sure to customise the username and password for your specific environment.
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<Resource type="javax.sql.DataSource" name="jdbc/CrowdDS" username="crowduser" password="password" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/crowddb?autoReconnect=true" auth="Container"/>
</Context>
|
SOURCE/maven/conf/settings.xml to your ~/.m2 directory.mvn command to download the project dependencies (otherwise known as download the Internet):
mvn clean install idea:idea -Dmaven.test.skip |
The download may take a few hours when you do it for the first time.
|
If you receive an error like the following:
Please comment out the crowd-acceptance-test line in the atlassian-crowd-1.2.2-source/atlassian-crowd/pom.xml file:
Re-run this command.
|
SOURCE/atlassian-crowd.ipr with IntelliJ IDEA.SOURCE/atlassian-crowd/crowd-web-app/src/main/resources/jdbc.properties configuration file and change hibernate.dialect to org.hibernate.dialect.MySQLDialect.SOURCE/atlassian-crowd/crowd-web-app/src/main/resources/crowd.properties configuration file and change application.login.url to contain the port and IP address you have configured Tomcat to run on. The default is localhost:8080.TOMCAT runtime configuration for the crowd-web-app module.