Commit Graph

35 Commits

Author SHA1 Message Date
luccioman
b55cf16dad Upgraded jgit build library to version 4.5.0
This is the latest Java 7 compatible jgit release.

Properly support GitHub tags marked as "Pre-release". 
With the previous venerable jgit version 1.1.0, a YaCy repository clone
having such a tag made GitRevTask and GitRevMavenTask crash.
2017-01-04 17:09:37 +01:00
reger
c778219768 remove module for swfparser from maven parent pom
not longer required for the build
see a4465c97d6
2016-10-07 23:49:03 +02:00
luccioman
fa11475d02 Handle more properly missing .git directory
Made use of maven profiles.
2016-07-07 20:50:27 +02:00
luccioman
343638d98e Prevent build failing when .git is missing 2016-07-06 01:33:20 +02:00
luccioman
f35587d6f6 Ignore maven build repositories 2016-07-05 21:15:33 +02:00
sixcooler
5523998fdf rise limit of reversion to >9999 2016-06-28 20:58:58 +02:00
reger
b1926d1e98 activate hack in libbuild/pom.xml to include main project as build module
This allows to use libbuild/pom as main maven project to build all needed
libs to compile and run YaCy, including YaCy itself.

Furthermore, maven is well supported by Netbeans IDE so we can discontinue
to maintaine Netbeans IDE specific project settings (in directory nbproject,
which lack config for debug anyway, nbproject can be deleted and NB will
compile YaCy via maven).

Additionally adjusted pom's project name to match the name in the repository.
2016-03-13 04:03:32 +01:00
reger
51e7151591 more fixes for sevenZip parser exception on specific archives
Found 2 more cases were modified code throws exceptions while original J7Zip
unpacks it.
Reimplemented error prone CoderMixer2ST from unmodified J7Zip.jar.
2016-03-09 01:01:58 +01:00
reger
5b07f3473e fix sevenZip parser exception with LZMA BCJ2 format archives,
see http://mantis.tokeek.de/view.php?id=641
+ sanitize some type cast's in modified sevenZip lib
2016-03-08 00:53:38 +01:00
reger
c2a88d53ab fix use of not initialized variable (m_LiteralDecoder) 2016-03-06 03:24:09 +01:00
reger
96b8d9b09e moving the J7Zip-modified source and Maven build to libbuild
from main pom. 
Using source included in j7zip-modified.jar.
This combines all external lib preparation in the libbuild main pom.
2016-03-06 03:19:52 +01:00
reger
06e5cd6164 add support parsing swf-metadata to swfparser
flash supports metadata tag in swf file with metadata in xmp (xml) format.
parse some common data to include it in the head section of the html string
of converttohtml.
2016-01-25 22:13:04 +01:00
reger
11b1587067 replace remaining use of java.util.Vector by ArrayList (WebCat-swf) 2016-01-24 02:30:27 +01:00
reger
9331acdb18 add support for DEFINEFONT3 (swf8) to webcat parser
experienced issue with JPEGTABLE tag (with length=0) causing abort of parsing (ioexception)
as we don't use/need it for text parsing skip this tag.
2016-01-23 22:46:22 +01:00
reger
bf5fca5d99 add missing swf tag constants according to latest spec
reduce use of synced vector in webcat parser
2016-01-23 20:19:01 +01:00
reger
18ecf57792 add support of compressed swf to swfParser
from JavaSWF2 (source compatible to WebCat).
Moved swf file signature check to parser
Changed use of synced vector to list swf InStream
2016-01-20 00:58:29 +01:00
reger
6c25710a34 replace bugfixed webcat-swf.jar 2016-01-18 23:36:18 +01:00
reger
4213ff84d4 import WebCat swf parser custom source package
This package is not available as jar (used jar is a custom compile as we 
use just a portion of the package) 
WebCat package is not maintained. To be able to fix bugs, source extract 
of swf parser imported here.
2016-01-18 22:41:49 +01:00
reger
bceb779414 refactor libbuild/GitRevMavenTask (marvenize)
to be able to add additional modules to build
2016-01-18 22:29:17 +01:00
Marc Nause
efadb710a4 Updated Git links from Gitorious to Github. 2015-03-23 11:12:39 +01:00
reger
090f789261 update Maven pom 2013-12-25 22:33:35 +01:00
reger
8ec350bad2 upd Maven pom (take back introduced java-templates)
to handle filtering of yacyBuildProperties.java.
To keep it compatible with ant filter directly from original sourcd/.... location.
2013-11-03 02:38:36 +01:00
reger
9da87c0c7f update Maven build script
- use current YaCy version number
- make use of libbuild\GitRevMavenTask (maven-plugin-gitrevisionnumber)
- make yacyBuildProperties.java available for source filtering by Maven-plugin (copy to libbuild\java-templates)
- update assembly definition to include lib\yacycore.jar without version number (needed this way by startupscript)
2013-11-02 06:27:18 +01:00
reger
62c591ffd1 add Maven plugin to return a YaCy style Git repository build release number and timestamp
- it injects properties which can be used in pom via ${DSTAMP} ${releaseNr} if added as plugin via
<plugin>
<groupId>net.yacy</groupId>
<artifactId>maven-plugin-gitrevisionnumber</artifactId>
<version>1.0</version>
<executions><execution>
<phase>initialize</phase>
<goals><goal>create</goal></goals>
</execution></executions>
</plugin>
2013-11-02 02:33:06 +01:00
reger
a09e70cd68 fix typo in GitRevTask (branch) 2013-11-02 00:18:24 +01:00
sixcooler
5189620026 add branch to packet-name if not build from master 2013-08-06 03:48:29 +02:00
Roland Haeder
841a28ae76 Added 'final' for all exception blocks as this helps the Java compiler
to optimize memory usage

Conflicts:
	source/net/yacy/search/Switchboard.java
2013-07-17 18:31:30 +02:00
reger
f8f7f33596 add Maven build script 2013-01-20 21:08:59 +01:00
orbiter
0cbda0b2b8 - replaced all length() == 0 and size() == 0 with isEmpty()
- replaced some length() > 0 and size() > 0 with !isEmpty() - cannot be
done automatically
- implemented some isEmpty() methods
2012-07-10 22:59:03 +02:00
sixcooler
d14ee8e464 Revision 9000+ hack
do not handle the revision in build.properties anymore
(9000 as fallback)
build-date from git-HEAD (instead when build is fired)
(orginal build-date as fallback)
2011-12-07 04:20:49 +01:00
sixcooler
b79da58eac Ant-Task for getting version from git
tries to find svn-version or any tag - what ever comes first
be careful using this with non-numerical tags!
2011-11-24 23:44:54 +01:00
sixcooler
69570fda24 bring my master to stuff from remote 2011-11-24 19:21:58 +01:00
sixcooler
d9c56aa37a Ant-Task for getting version from git 2011-11-24 15:51:25 +01:00
f1ori
cb1e887027 * move svnRevNr classes to libbuild
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5425 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-12-31 19:58:22 +00:00
f1ori
d72846f898 * moved nsisant library in seperate libbuild-directory to keep root directory clean
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5037 6c8d7289-2bf4-0310-a012-ef5d649a1542
2008-08-06 17:02:56 +00:00