Comments (8)
Hi, the question fits fine here and we are glad to help. From which branch are you using it?
from agdistis.
Glad to hear that. I am currently using the mergeT branch.
from agdistis.
Hey @Phauly1, I think that you are doing everything right. The stranger behavior comes from this line https://github.com/AKSW/AGDISTIS/blob/mergeT/src/main/java/org/aksw/agdistis/webapp/GetDisambiguation.java#L83
Please, trying to comment it and tell me whether it works.
from agdistis.
Another thing to check is, how are you building and using the jar from your project? If you do it via mvn install and a pom, please try to delete if from ~/.m2/repositories and reinstall it
from agdistis.
Thanks for your suggestions so far!
@DiegoMoussallem I have commented out this line, but nothing changed.
@RicardoUsbeck The JAR of my main program is built via mvn install
and a pom file, yes. I have deleted everything in .m2 and installed it from scratch, but it also does not solve the problem.
But I made a new discovery:
I downloaded a new and untouched AGDISTIS version from mergeT and just excluded the config folder via the pom file and commented out the aforementioned line of code. After that, I run mvn install
and get an AGDISTIS JAR with no config folder or properties files in it. I am doing this, because I just want to see, if there will be some error later on, triggered by missing configuration parameters.
If I add this AGDISTIS JAR to my local maven repository with mvn install:install-file
there is still no config folder or properties file in the AGDISTIS JAR - good.
But now, when I run mvn install
or even mvn clean install
on my main program, there suddenly is a config folder with all AGDISTIS properties files in the main program's JAR. I have absolutely no idea how this happens. Edit: These appearing properties files seem to be the defaults I was talking about in my first post.
Do you have any idea what causes this behaviour?
from agdistis.
I have never seen that behaviour before. Can you debug what's happening with Eclipse?
from agdistis.
Hmm maybe related to http://stackoverflow.com/questions/34131991/properties-file-reads-old-data-when-jar-is-executed-from-command-line ?
from agdistis.
I have repeated the whole procedure and installed everything again. I really do not know what the problem was, but now I am able to configure AGDISTIS out of my own resource folder. Thank you very much for your help!
from agdistis.
Related Issues (20)
- Clarify index2 naming in config HOT 6
- Update docker hub image HOT 8
- Docker and log files HOT 5
- How to run from command line with environment variables => WIKI
- Chinese index not working HOT 2
- Download button stop working HOT 1
- Get Entities button stop working HOT 1
- Creation of the context index very slow. HOT 3
- GERBIL error HOT 2
- Heuristic Expansion, does it help or harm so far?
- About the Wikidata and confidence level HOT 3
- Memory Issues HOT 1
- In BFS the findNode is not used (nodes always added even if already exists) HOT 8
- German version links HOT 5
- Runtime 2min HOT 5
- All candidates for named entity HOT 4
- Failing disambiguation with german index HOT 5
- Fox moved HOT 17
- Each request allocates two additional threads HOT 7
- The server encountered an unexpected condition which prevented it from fulfilling the request when trying curl data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agdistis.