Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
source-extractor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asrael
source-extractor
Commits
f9a72390
Commit
f9a72390
authored
Nov 07, 2017
by
Bertrand Goupil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update MacosX wapiti library
Recompile from wapiti sources
parent
7423d71b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
Readme.md
Readme.md
+12
-1
lib/wapiti_java/libwapiti.dylib
lib/wapiti_java/libwapiti.dylib
+0
-0
No files found.
Readme.md
View file @
f9a72390
...
...
@@ -36,7 +36,8 @@ If running from IDE (eclipse), VM argument `java -Dspring.config.location=src/te
=> check that application.yml set the correct path for lib and resources
=> -Dspring.configuration path should end with /
+
Wapiti OS libraries may crash the webapp: see Wapiti build section below
#### Bug
+
Service stop on MacosX during extraction with wapiti's message
`error: invalid model format`
(This is not happening running inside eclipse ...)
...
...
@@ -65,11 +66,13 @@ In the docker image volumes have been setup to mount new resources.
+
List containers
`docker ps -a`
+
Stop container
`docker stop <container_name>`
+
Start container
`docker start <container_name>`
+
Show container logs
`docker logs <container_name>`
+
Remove stop containers
`docker rm $(docker ps -a -q)`
+
Remove image
`docker rmi <image_name>`
+
Load image from file
`docker load < image_file.tar`
+
Export image
`docker export > image_file.tar`
## Test
HTTP GET http://localhost:8080/sourceExtractor/
...
...
@@ -81,3 +84,11 @@ Charset text/xml
curl -XPOST -H "Content-Type: text/xml" -d @afp.com-20150123T153420Z-TX-PAR-SZS52.xml http://localhost:8080/sourceExtractor/extractNewsML
## Annex
### Third-party libraries
#### Wapiti build
Wapiti OS libraries may failed depending of your OS version.
You must then build the OS library from the Wapiti project:
[
https://github.com/kermitt2/Wapiti
](
https://github.com/kermitt2/Wapiti
)
lib/wapiti_java/libwapiti.dylib
View file @
f9a72390
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment