HPCC-10035 - Expose compressedSize at logical file level

Allow getDiskSize to use published meta info on compressed(disk)
part sizes and aggregate in logical file attribute in the same
way @size is currently done.

This will enable fast retreival of compressedSize possible and
expose it through DFS attribute serialization iterator routines
so that eclwatch has a cheap way to display them.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
HPCC-9723 change Package name to allow multiple clienttools installed

change ClientTools package name to "hpccsystems-clienttools-<major version>.<mintor version>
This will allow multiple clienttools with different <major version>.<mintor version> installed
on the systems. For example following clienttools can co-exist on a system:
   hpccsystems-clienttools-4.0_community-4.0.2-2el6_x86_64.rpm
   hpccsystems-clienttools-4.2_community-4.2.0-1el6_x86_64.rpm

On the other hand if <major version>.<mintor version> are the same the newer package can be updated
on the top of older package. for example,
1) With different pack number:
   hpccsystems-clienttools-4.2_community-4.2.2-1el6_x86_64.rpm can be updated on top of
   hpccsystems-clienttools-4.2_community-4.2.0-1el6_x86_64.rpm

2) With different build(sequence) number
   hpccsystems-clienttools-4.2_community-4.2.0-2el6_x86_64.rpm can be updated on top of
   hpccsystems-clienttools-4.2_community-4.2.0-1el6_x86_64.rpm
HPCC-8528 Creat/remove symbolic links with ClientTools installend/Uninstall

The fix includes followings:
1) A new directory clienttools under the top of source tree. It seperates install
   related scripts from Platform.
2) A new script: /opt/HPCCSystems/<version>/clienttools/etc/init.d/install/post_install.sh
   It will create the symbolic links of binaries (the list is hard-coded in the script) under
   clienttools/bin in /usr/bin.
   Run it with "-u" will remove the links if they belong to current version of clienttools
   The script should be run as user root.
3) If HPCC-Platform does not exist new clienttools install will create the symbolic
   links with script post_install.sh
4) When uninstall a clienttools symbolic links will be removed with "post_install.sh -u"
   It only remove the link if it points to the file under current clienttools/bin/.
5) After clienttools uninstall, if there are still other clienttools left and not HPCC-Platform
   installed, it is user's responsibility to manually pick a clienttools and run post_install.sh
   if it exists.
6) Above fixes will be applied to rpm and deb package (Linux). There should be no change and impact
   on Mac and Windows.
7) There will be another JIRA ticket to address the similar issue on Mac OS X.
HPCC-8528 change permission
HPCC-9723 Add PACKAGE_FILE_NAME_PREFIX

Add a new varialbe PACKAGE_FILE_NAME_PREFIX in top level CMakeLists.txt which will have pacakge
name without version information. It is used for creating CPACK_PACKAGE_FILE_NAME
HPCC-8528 Add #!/bin/bash in install scripts

Add #!/bin/bash in pre/post install/uninstall scripts.
Most Linux will tolerate if this is missing. But some old distro
for example, Ubuntu 10.04 will fail and throw an error during install/uninstall
HPCC-10074 Automate Eclipse Help

HPCC-10074 Automate Eclipse Help
This is one XSL file that would need
to be used to transform our docbook
XML into an Eclipse Help Plug in.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
HPCC-8528 Modify the code after pull request comments

Modify symbolic link list: add ecl-bundle and remove satrt-stop-daemon
Modify clienttools/install/CMakeLists.txt
HPCC-10156 Add WsTopology method ListTargetClusters

The existing TpTargetClusterQuery returns too much information and
can be slow. A new method is requested which only returns cluster name,
type, and whether the cluster is a 'default' target (for jobs like
syntax check, etc) or not. The method is implemented by this fix.

The default target cluster may be specified in esp.xml (see the other
subtask in the parent issue). If not, the isDefault will be set using
the following logic: Loop through all targets. If an hthor is found,
it will be the 'default'. If no hthor, the first thor cluster will be
the 'default'. If no hther and no thor, the first roxie cluster will
be the 'default'.
HPCC-10015 Add WUID wildcard search for WUQuery

This fix implements WUID wildcard search for WUQuery. A user
may input W20130918* as a search request and WUQuery returns
a list of WUs that were created on that day.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
HPCC-9870 Docs:JVM Settings

Fix HPCC-9870 Docs:JVM settings
The issue here is to set options for the JVM
when using embedded Java. This addresses the
very issue of adding embedded language support.
We can later embellish specific options.
Added 1 small adjustment.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
HPCC-9870 Docs:JVM Settings

Fix HPCC-9870 Docs:JVM settings
The issue here is to set options for the JVM
when using embedded Java. This addresses the
very issue of adding embedded language support.
We can later embellish specific options.
Added 1 small adjustment.

Signed-off-by: g-pan <greg.panagiotatos@lexisnexis.com>
Merge pull request #4923 from g-pan/H10074-EclipsL

HPCC-10074 Automate Eclipse Help

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10028 removeEntry() should pass the error message to the caller

Add new removeEntry() method with suggested StringBuffer parameter.

Signed-off-by: Attila Vamos <attila.vamos@gmail.com>
HPCC-9547 packagemap-validate warning when library redefines query files

In Packagemaps if a query and a library redefine the same file
ecl-packagemap-validate should give a warning.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>

Conflicts:
	common/workunit/referencedfilelist.cpp
	common/workunit/referencedfilelist.hpp
HPCC-10093 Read compressed file size from DFU attributes

In this fix, WsDFU DFUInfo/DFUQuery reads compressed file size from DFU attributes.
The compressed file size can be shown on EclWatch file browser and details page.

This fix also renames IsZipFile flag to IsCompressed.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com
Merge pull request #4941 from g-pan/H9870-JVMbed

HPCC-9870 Docs:JVM Embed

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4878 from wangkx/h8972

HPCC-10093 Read compressed file size from DFU attributes

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
HPCC-10175 Remove Roxie test page option from HPCC Platform

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>
HPCC-9521 Refactor CDfsLogicalFileName to make it purely representational of a logical file, avoid it resolving/looking up

Currently CDfsLogicalFileName resolves any wildcards in logical file names
when it is instantiated. This is unnecessary since in most cases they dont
need to be. This pull request delays the expansion until it is actually
needed, by adding a new "isWild" and "expand" method to the interface.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>