AcsJavadoc.MakefileHelper
index
/alma/ACS-2015.4/ACSSW/lib/python/site-packages/AcsJavadoc/MakefileHelper.py

#*******************************************************************************
# ALMA - Atacama Large Millimiter Array
# Copyright (c) European Southern Observatory, 2015 

# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.

# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
#
#
# who       when      what
# --------  --------  ----------------------------------------------
# acaproni  2015-02-17  created
#

 
Modules
       
os

 
Classes
       
__builtin__.object
MakefileHelper

 
class MakefileHelper(__builtin__.object)
    MakefileHelper
 
  Methods defined here:
__init__(self, filePath)
Build a MakefileHelper
getJarsNumber(self)
@return: The number of jars built by this Makefile
getMakefileTagValue(self, tagName)
Scan the Makefile to get the value associated to the passed tag.
For example if the Makefile contains a line like
    TAGEXAMPLE = a b c 
getMakefileTagValue('TAGEXAMPLE') returns ['a', 'b', 'c'] 
 
@param tagName: the name of the tag
@return: A list of values o of the passed TAG in the MAkefile
get_folder(self)
get_java_packages(self)
get_path(self)
readJavaPackages(self, jars)
Read the java package of each jar file of the makefile
from the <jarName>_DIRS Makefile tag
 
@param The name of the jars read from the makefile: 
@return A list of tuples i.e.  [(jarName, [package-paths])]

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)