Ignore:
Timestamp:
2023-09-04T14:52:51+12:00 (10 months ago)
Author:
davidb
Message:

Maven task effectcively does the same as all the bash scripting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/computing50/trunk/sites/computing50/ConnectProxy/servlet-based/CLEAN.sh

    r37982 r38000  
    11#!/bin/bash
    22
    3 if [ -d target/classes ] ; then
    4     echo
    5     echo "----"
    6     echo "Removing .class files from:"
    7     echo "  target/classes"
    8     echo "----"
    9     echo
    10    
    11     find target/classes -name "*.class" -exec /bin/rm {} \; -print
    12 else
    13     echo "Did not find directory:" >&2
    14     echo "  target/classes" >&2
    15 fi
     3#if [ -d target/classes ] ; then
     4#    echo
     5#    echo "----"
     6#    echo "Removing .class files from:"
     7#    echo "  target/classes"
     8#    echo "----"
     9#    echo
     10#   
     11#    find target/classes -name "*.class" -exec /bin/rm {} \; -print
     12#else
     13#    echo "Did not find directory:" >&2
     14#    echo "  target/classes" >&2
     15#fi
    1616
     17mvn clean
    1718
Note: See TracChangeset for help on using the changeset viewer.