0003-Fix-trailing-whitespace.patch

J. Wienke, 01/31/2014 12:45 PM

Download (3.82 KB)

View differences:

install-java.rst
267 267

  
268 268
   $ cd rsb.git.java
269 269
   $ ./mvnprep.sh
270
   
270

  
271 271
#. Invoke :program:`mvn` supplying build properties on the commandline
272 272
   or via file:`pom.xml` (see below)
273 273

  
......
294 294
      $ mvn clean package 				\
295 295
	    -Dpbuf.protoc=/usr/bin/protoc               \
296 296
            -Dpbuf.protopath=/vol/cit/share/rsbprotocol \
297
            -Dspread.daemon=/vol/cit/sbin/spread        
297
            -Dspread.daemon=/vol/cit/sbin/spread
298 298

  
299 299
   The equivalent changes can be done in :file:`pom.xml` file which then looks like this:
300 300

  
......
312 312

  
313 313

  
314 314
   In the presence of this file :file:`pom.xml` , the :program:`mvn` command reduces to:
315
   
315

  
316 316
    .. code-block:: sh
317 317

  
318
      $ mvn clean package 				
318
      $ mvn clean package
319 319

  
320 320

  
321 321
#. Installation of Java archive
......
329 329
      $ mvn clean install			        \
330 330
	    -Dpbuf.protoc=/usr/bin/protoc               \
331 331
            -Dpbuf.protopath=/vol/cit/share/rsbprotocol \
332
            -Dspread.daemon=/vol/cit/sbin/spread 
333
           
332
            -Dspread.daemon=/vol/cit/sbin/spread
333

  
334 334
   or when :file:`pom.xml` is configured :
335
   
335

  
336 336
   .. code-block:: sh
337 337

  
338
      $ mvn clean install			           
339
      
338
      $ mvn clean install
339

  
340 340
Testing the Maven Installation
341 341
-------------------------------
342 342

  
......
346 346
needs to be invoked (please note that a :term:`Spread daemon` is
347 347
automatically started by the :program:`mvn` script):
348 348

  
349
When :file:`pom.xml` is configured : 
349
When :file:`pom.xml` is configured :
350 350

  
351 351
.. code-block:: sh
352 352

  
......
359 359
   $ mvn clean	test				       \
360 360
	 -Dpbuf.protoc=/opt/local/bin/protoc           \
361 361
         -Dpbuf.protopath=/vol/cit/share/RSBProtocol   \
362
         -Dspread.daemon=/vol/cit/sbin/spread          
363
         
362
         -Dspread.daemon=/vol/cit/sbin/spread
363

  
364 364

  
365 365
You should see a console output similar to the following (shortened
366 366
excerpt):
......
370 370
   $ mvn clean	test				       \
371 371
	 -Dpbuf.protoc=/opt/local/bin/protoc           \
372 372
         -Dpbuf.protopath=/vol/cit/share/RSBProtocol   \
373
         -Dspread.daemon=/vol/cit/sbin/spread          
374
         
373
         -Dspread.daemon=/vol/cit/sbin/spread
374

  
375 375
   [INFO] Scanning for projects...
376
   [INFO]                                                                         
376
   [INFO]
377 377
   [INFO] ------------------------------------------------------------------------
378 378
   [INFO] Building RSB 0.11-SNAPSHOT
379 379
   [INFO] ------------------------------------------------------------------------
380
   [INFO] 
380
   [INFO]
381 381
   .
382 382
   ..
383 383
   ...
384
   
385
   
384

  
385

  
386 386
   Results :
387
   
387

  
388 388
   Tests run: 175, Failures: 0, Errors: 0, Skipped: 0
389
   
390
   [INFO] 
389

  
390
   [INFO]
391 391
   [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:report (post-unit-test) @ rsb ---
392 392
   [INFO] ------------------------------------------------------------------------
393 393
   [INFO] BUILD SUCCESS
......
397 397
   [INFO] Final Memory: 25M/193M
398 398
   [INFO] ------------------------------------------------------------------------
399 399
        [exec] Result: 143
400
         
401 400

  
402
         
401

  
402

  
403 403
If no failed test cases are reported, the Java implementation of
404 404
|project| is likely to work correctly on your machine.
405
-