File: README

package info (click to toggle)
commons-daemon 1.0.15-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,160 kB
  • sloc: ansic: 13,705; sh: 3,168; xml: 2,213; java: 1,856; makefile: 188
file content (41 lines) | stat: -rw-r--r-- 1,382 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
To build the JAVA part:
ant dist

The Java portion of Commons Daemon requires Java 1.3 or later to build

To build the native parts:
1 - jsvc:
  jsvc is only for Un*x systems
  cd src/native/unix; configure; make
  You need a gnu make.
  The jsvc executable is created in the dist directory.
  There is a INSTALL.txt in src/native/unix - please have a look at it.

2 - procrun:
  procrun is only for windows
  cd src\native\windows\apps
  cd prunsrv
  nmake [CPU=(X86|X64|I64)]
  cd ..\prunmgr
  nmake [CPU=(X86|X64|I64)]
  (It is also possible to use the MS development tools).

  See also the README files in src\native\windows

To build the documentation: (See http://commons.apache.org/building.html).
mvn site:generate
(Do not forget to get ../commons-build: (cd ..; svn co http://svn.apache.org/repos/asf/commons/proper/commons-build/trunk/ commons-build))

To deploy the documentation to the apache site:
mvn -Dmaven.username=${user.name} site:deploy

To deploy the Java jars to the Nexus staging repo:

mvn clean
mvn deploy -Prelease [-Ptest-deploy]

The test-deploy profile will deploy to target/deploy; omit for the live deploy

Note: do not use clean in the same invocation.
Not sure why, but with Commons-Parent v21 this results deploying the non-Maven archives (zip and tar.gz) as well.
They can be deleted before closing the repo, but it is easier not to create them.