Project

General

Profile

1
## Required Actions 
2

    
3
### Required Properties
4
 Create a new dnet-override.properties file in the lib/ folder of the tomcat installation.
5
 
6
 The properties file must contain the exist properties.
7
 ```properties
8
# Container properties 
9
container.hostname = localhost
10
container.port = 8080
11

    
12
# IS Service
13
ISLookUpService.url  = http://node6.t.openaire.research-infrastructures.eu:8280/is/services/isLookUp
14
ISRegistryService.url  = http://node6.t.openaire.research-infrastructures.eu:8280/is/services/isRegistry
15
ISSNService.url = http://node6.t.openaire.research-infrastructures.eu:8280/is/services/isSN
16

    
17
# Users Service
18
services.users.ldap.address = 194.177.192.119
19
services.users.ldap.port = 389
20
services.users.ldap.username = cn=admin,dc=openaire,dc=eu
21
services.users.ldap.password = {password}
22
services.users.ldap.usersDN = ou=users,dc=openaire,dc=eu
23

    
24
# Broker Service 
25
services.broker.url = http://broker1-dev-dnet.d4science.org
26
services.broker.port = 8080
27
services.broker.path = lbs/api/openaireBroker
28
 ```
29
 
30
 
31
 ### Required files
32
 
33
 1. copy the [xercesImpl-2.9.0.jar](http://central.maven.org/maven2/xerces/xercesImpl/2.9.0/xercesImpl-2.9.0.jar) 
34
 in the lib/ folder of the tomcat installation.
35
 
36
 ## Required Maven Settings
37
 
38
 Create a new maven settings.xml file containing the repositories for the dnet dependencies.
39
  ```
40
<profile>
41
    <id>dnet4.0</id>
42
    <activation>
43
    <activeByDefault> true </activeByDefault>
44
    </activation>
45
    <repositories>
46
        <repository>
47
            <id>dnet4-bootstrap-snapshot</id>
48
            <name>D-Net 4 Bootstrap Snapshot</name>
49
            <url>
50
                http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-snapshot
51
            </url>
52
            <releases>
53
                <enabled>false</enabled>
54
            </releases>
55
            <snapshots>
56
                <enabled>true</enabled>
57
            </snapshots>
58
            <layout>default</layout>
59
        </repository>
60
        <repository>
61
            <id>dnet4-bootstrap-release</id>
62
            <name>D-Net 4 Bootstrap Release</name>
63
            <url>
64
                http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-bootstrap-release
65
            </url>
66
            <releases>
67
                <enabled>true</enabled>
68
            </releases>
69
            <snapshots>
70
                <enabled>false</enabled>
71
            </snapshots>
72
            <layout>default</layout>
73
        </repository>
74
    </repositories>
75
</profile>
76
  ```
77
 ## Maven
78
 
79
 ### generate-sources phase
80
 It generates the required async classes for gwt to work.
81
 
82
 ### package phase
83
 <sup><sup>It includes the generate-sources phase in accordance to maven.</sup></sup> 
84
 
85
 It creates the .war application file for tomcat to run.
86
 
(1-1/2)