16 Commits

Author SHA1 Message Date
Derek Hulley
349183a535 Beefed up unit tests for content metadata extracters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2469 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-22 13:16:56 +00:00
Derek Hulley
e55b533ec9 Fixed test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2451 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-20 13:30:48 +00:00
Derek Hulley
58d6778173 Fixed AR-435: Added system bootstrap and shutdown hooks for native executables
- See the RuntimeExecBeansTest-context.xml for examples of how to put these together
 - Shutdown hooks are executed on ApplicationContext shutdown or VM shutdown, whichever is first
Moved native executable error code detection into RuntimeExec class
 - This affects any existing RuntimeExecContentTransformers (e.g. TidyTransformer)
Made OS search use regular expressions
 - Command search order is: Exact name, First matching REGEX, *
 - Note that * is a special case for 'default'.  The REGEX equivalent is .*

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-20 01:22:32 +00:00
Derek Hulley
976fa1a09c Fixed TextMining (Word to Text) transformer that was not closing an input stream after use
Added checks to the Abstract transformer to log an error non-closures of streams.  This won't halt execution.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2384 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-15 13:51:25 +00:00
Derek Hulley
923f393732 Make it clear that transformer is disabled to start with
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2332 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-09 09:32:45 +00:00
Derek Hulley
92e6804e39 Added conversions to PDF (and therefore TXT) for .sxi
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2325 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-02-08 16:47:44 +00:00
Derek Hulley
d252748bbe More fine-grained access to mimetype config XML. Added more mimetypes to OpenOffice handlers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 14:34:45 +00:00
Derek Hulley
119ac044d4 Enabled *.ods, *.sdc and *.sxc conversion to PDF and therefore to TXT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 18:27:52 +00:00
Derek Hulley
a4a4830b04 Reversed registration order of ContentTransfomers. Self-registration means that config extensions are much simpler
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-26 16:54:16 +00:00
Derek Hulley
f578d4531a Make unit test independent of the encoding of the Java file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 16:20:41 +00:00
Derek Hulley
881da2dd03 Changed encoding to UTF-8 as an initial experiment to check if this fixes the Linux compiler encoding issue
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2200 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-25 13:49:20 +00:00
Derek Hulley
ff7e10f80c Made explicit an InputStream closure
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-24 23:30:48 +00:00
Derek Hulley
db5e800018 Removed .xls-.txt conversion from OpenOffice. Enabled and tested .sxw-.txt and .odt-.txt
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-17 12:22:35 +00:00
Derek Hulley
bfe7d496c7 Fixed logging of unused variable [Ian Priest]
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-03 14:12:01 +00:00
Derek Hulley
815b00883b Minor comment fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-03 10:19:59 +00:00
Derek Hulley
e1e6508fec Moving to root below branch label
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2005-12-08 07:13:07 +00:00