Commit Graph

14261 Commits

Author SHA1 Message Date
Thomas Koch
1c3c59de85 fix ant build failure on multiple call to resolve target
Failed build:
https://github.com/yacy/yacy_search_server/runs/6859314856

Relevant build log:

resolve:
[ivy:retrieve] ivy.instance reference an ivy:settings defined in an other classloader.  An new default one will be used in this project.
[ivy:retrieve] :: Apache Ivy non official version -  :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: url = jar:file:/usr/share/java/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
BUILD FAILED
/home/yacy/actions-runner/_work/yacy_search_server/yacy_search_server/build.xml:111:
 java.lang.ClassCastException: org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor
 cannot be cast to org.apache.ivy.core.module.descriptor.ModuleDescriptor

Finding:

The second call to the resolve target in ant failed apparently due to
two instances of Ivy in the java runtime.
Without full investigation, the problem could be fixed by ensuring that
the resolve target is only called once within one ant build.
2022-06-13 14:27:53 +03:00
Michael Peter Christen
c3307231d4 added ci script 2022-06-13 12:14:42 +02:00
Michael Christen
04b0e32bc7
Merge pull request #463 from tangdou1/patch-3
Update Chinese Translations
2022-04-10 00:16:12 +02:00
Michael Christen
dc88676bf2
Merge pull request #478 from thkoch2001/use_ivy
Use ivy
2022-04-09 19:57:48 +02:00
Thomas Koch
9eb4570df6 download ivy on non-Debian platforms 2022-04-09 14:50:34 +00:00
Thomas Koch
8de08e2736 rm License files from lib/ folder 2022-04-08 18:33:20 +00:00
Thomas Koch
8fbd6386fd use ivy to manage jars 2022-04-08 18:33:20 +00:00
Thomas Koch
4c0ae2ca36 rename langdetect.jar to name in maven repo
The maven jar contains the language profiles that yacy also ships
in the langdetect/ folder.
2022-04-08 18:33:00 +00:00
Thomas Koch
474898da26 rename chardet.jar to name from maven
The class files in the yacy jar differs from the one downloaded
from maven. But the file tree is equal.
2022-04-08 18:32:47 +00:00
Thomas Koch
5309ca3a5a rename jars to correspond to maven repos 2022-04-08 18:32:23 +00:00
thkoch2001
336100514d
Settings_HttpClient.inc spelling correction
certificats > certificates

Thanks to @CloudyProton
2022-04-07 17:33:16 +03:00
thkoch2001
2037c0aa00 fix incorrect jar names in .classpath
Eclipse complains about missing files in the build path otherwise when importing the project.
2022-04-07 17:26:57 +03:00
tangdou1
c9d97bb355
Update zh.lng 2022-03-05 11:32:32 +08:00
tangdou1
300f337ba7
Update zh.lng 2022-03-05 11:25:14 +08:00
tangdou1
0d80945ffa
Update zh.lng 2022-03-05 11:14:20 +08:00
tangdou1
fff0ebe833
Update zh.lng 2022-03-05 11:04:16 +08:00
tangdou1
3711f2de6c
Update zh.lng 2022-03-03 17:18:51 +08:00
Michael Christen
f7399833c8
Merge pull request #462 from tangdou1/patch-2
Update zh.lng
2022-02-28 17:45:51 +01:00
tangdou1
f79a858997
Update zh.lng 2022-02-28 21:01:19 +08:00
tangdou1
eae3674130
Update ConfigBasic.html 2022-02-28 20:57:58 +08:00
tangdou1
ecb55c958d
Update zh.lng 2022-02-27 21:11:04 +08:00
Michael Christen
a525a45034
Merge pull request #461 from tangdou1/patch-1
Update zh.lng
2022-02-26 20:58:42 +01:00
tangdou1
31a7c9ab0b
Update zh.lng 2022-02-27 00:44:58 +08:00
reger24
535636551a Further improvement of fccdf5a37b
addint properties file as input
2022-02-12 13:40:20 +01:00
reger24
fccdf5a37b Small optimization on gradle task prepYaCyProperties
for better lifecycle detection
2022-02-12 13:15:15 +01:00
Burkhard
a6a9828181
Merge pull request #440 from lfuelling/master
Add setting for public facing port
2022-02-11 08:09:17 +01:00
Burkhard
4219d729c3
Update SettingsAck_p.java
type in SwitchboardConstants.SERVER_PUBLICPORT
2022-02-11 08:04:55 +01:00
Burkhard
e0fd3d4f10
Update Settings_p.java
missing setting to display the value
2022-02-11 08:02:24 +01:00
reger24
84651f2925 Make bookmarks.html accessible
for the time beeing (as possibliy other decision has been made)
make the bookmarks feature accessible, as it is available but w/o link in UI

relates to https://github.com/yacy/yacy_search_server/issues/452#issuecomment-1033054368
2022-02-11 04:25:26 +01:00
reger24
2d53147d7f Remove obsolete dir dictionaries
obsolete since 67eddaec4b
2022-02-11 03:48:30 +01:00
reger24
a37352cfa7 Update link to Moby in DictionaryLoader_p.html
see issue https://github.com/yacy/yacy_search_server/issues/455
2022-02-11 03:19:30 +01:00
reger24
141e86964e Fix compile deprecation warning
warning: [removal] AccessControlException in java.security has been deprecated and marked for removal
2022-02-11 00:27:55 +01:00
reger24
417899dda2 Correction of last commit 9dace71aea
accidently commented out kaskelix
2022-02-10 05:55:47 +01:00
reger24
9dace71aea Update yacy.net release download location
to //download.yacy.net/ in network.*.unit files

@Orbiter   for the latest avail. releases (v1.924 ...tar.gz)  the *.tar.gz.sig  file is missing,
so download fails with error "Download of releas .... failed"
2022-02-10 05:51:11 +01:00
reger24
47840ef866 Optimize GitComInf
- remove depreciated repro.peel(tag)
- reduce counting loop
2022-02-10 02:14:44 +01:00
reger24
bdb9cdfa15 Commented out use of org.mini2Dx:parcl plugin
I'm bothered about the Gradle depreciation notice after each compile,
created by org.mini2Dx:parcl plugin
- which is currently not used (would only work with additional configuration)
2022-02-09 21:24:27 +01:00
reger24
a7e93d9328 Add option to add host to default blacklist from search result
- added authorized ikon/button to blacklist a host
- host is added to default blacklist
- insired by https://github.com/yacy/yacy_search_server/issues/213#issuecomment-412485190
2022-02-09 19:42:04 +01:00
reger24
05d6d0405f Move sub-menu UI Translations from public Status to secure Sys Administration
- as UI Translation (TransNews_p.html) is a secured page
- it uses for publishing internal News system but belongs not really to "Community Data"
2022-02-08 22:42:11 +01:00
reger24
8be55472d9 Optimize task storeGitComInf lifecycle detection
by having Gradle monitor .git directory changes
to speed up subsequent builds with min changes.
2022-02-07 18:22:48 +01:00
reger24
3867741a41 Optimize build.gradle task compileHtrootServlets
Situation: if you change a proceudure name  / add a procedure in java source
and at the same time use the new procedure in htroot servlet
-> build fails with ant:javac error during gradle configuration phase
-> also clean build won't help as 1. gradle action is configure
see also https://github.com/yacy/yacy_search_server/issues/454#issuecomment-1031106178

Reason: in build directory is still the old yacycore.jar without the new procedure so javac - class not found will occur in compileHtrootServlets task

Quickfix: delete build/libs/yacycore.jar or the whole build directory

applied optimization
defining inputs and outputs  for lifecycle detection in gradle task
and have the work done in a doLast  section
2022-02-07 10:23:24 +01:00
reger24
91a2ad1457 fix test xlsx file with correct anchor
as test anchor in source changed
2022-02-07 04:24:29 +01:00
reger24
027e284ef9 Enhance notability of current blacklist by diff color in header
in servlet Blacklist_p.html
bugfix for 18dddb74c9
2022-02-06 09:43:59 +01:00
reger24
18dddb74c9 Harmonize loading/reading blacklist
between init  and servlet to use the same procedures
-added BlacklistHelper.blacklistToSortedArray to simplify use in servlet
2022-02-06 00:10:55 +01:00
reger24
11c4a1b45c Blacklist import from file, exclude comment lines
starting with  # // or ;
inspired by issue https://github.com/yacy/yacy_search_server/issues/446
2022-02-05 17:38:29 +01:00
reger24
0e4c93f02a IndexBroswser chart last 100 days - see https://github.com/yacy/yacy_search_server/issues/453 2022-02-04 06:09:08 +01:00
Michael Peter Christen
0e74b01dad Merge branch 'master' of git@github.com:yacy/yacy_search_server.git 2022-02-03 13:27:15 +01:00
Michael Peter Christen
0579a9546a changed link to new forum location 2022-02-03 13:27:06 +01:00
reger24
f28d705cd0 update IndexBroser_p add to blacklist button
add feedback to user on success
2022-02-03 03:25:13 +01:00
reger24
d7d977569b Optimize IndexBroser_p - "Add to blacklist" button
to better match hosts with www.
using the default match substitution  (to match www.host.com/ and host.com/)
2022-02-01 14:22:08 +01:00
reger24
6c5b282919 Some Gradle build script cleanup
- added multiproject in libbuild to compile and install all needed jars (reproduceing old maven build)
- adjusted GitComInf (use a project version, build script with less hardcoded strings)
- adjusted J7Zip-modified
	- include common version number for output jar
	- add task installJarToRoot to copy output jar to yacycore /lib
- adjust main build with updated jar names

as files are the same - updated also old build.xml

And the Eclipse specific .classpath (with shall be deleted until complete move to gradle)
2022-02-01 14:04:38 +01:00