Hi Cristian,
the simplest way is using
mvn -o clean install -P installBundle \
-Dsling.url=http://localhost:8080/system/console
to install the engine directly from the command line.
For debugging you can start the stanbol launcher with
-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n
when doing so you can than connect with remote debugging on port 8787
as explained e.g. on [1]
regarding
On Sun, Mar 30, 2014 at 11:10 AM, Cristian Petroaca
<[email protected]> wrote:
> It worked after adding "sling.fileinstall.writeback=false". Thanks.
can you please provide your system configuration. This looks like an
issue with the Apache Sling FileInstaller module. Maybe we can track
this down and correctly report the issue.
best
Rupert
[1]
http://sdqweb.ipd.kit.edu/wiki/Remote_Debugging_mit_Eclipse#Eclipse_Remote_Debugging_Session
On Sun, Mar 30, 2014 at 11:10 AM, Cristian Petroaca
<[email protected]> wrote:
> It worked after adding "sling.fileinstall.writeback=false". Thanks.
>
> An additional question unrelated to this. Can I just mvn clean install the
> enhancement engine I am working on and simply add the jar in the stanbol
> launcher somewhere? This would make the procedure in which I change some
> code and want to see the results a lot faster.
>
> Thanks,
> Cristian
>
>
> 2014-03-29 21:19 GMT+02:00 Rupert Westenthaler <
> [email protected]>:
>
>> Hi Cristian,
>>
>> Ho do you create the Chain? With the config tab of the Felix
>> Webconsole? What operating system are you using?
>>
>>
>> Maybe it is a problem with the sling file installer. Can you try to add
>>
>> "sling.fileinstall.writeback=false"
>>
>> to the sling.properties file (in the stanbol folder) before you create
>> your chain.
>>
>> best
>> Rupert
>>
>>
>> On Sat, Mar 29, 2014 at 7:16 PM, Cristian Petroaca
>> <[email protected]> wrote:
>> > Hi,
>> >
>> > I'm using the trunk for development. I created a new weighted chain which
>> > contains the following config :
>> >
>> >
>> stanbol.enhancer.chain.weighted.chain=["langdetect","opennlp-sentence","opennlp-token","opennlp-pos","opennlp-ner"]
>> > stanbol.enhancer.chain.name="test-chain"
>> >
>> >
>> > The chain works fine but after I stop and start the server I cannot see
>> it
>> > anymore on the localhost:8080/enhancer page. It also does not exist in
>> the
>> > system configuration panel or the components panel.
>> > The server had no exceptions when it started the second time and the
>> chain
>> > config file is still in the stanbol/fileinstall/ folder.
>> >
>> > What is causing this behavior? Did anybody else see this?
>> >
>> > Thanks,
>> > Cristian
>>
>>
>>
>> --
>> | Rupert Westenthaler [email protected]
>> | Bodenlehenstraße 11 ++43-699-11108907
>> | A-5500 Bischofshofen
>>
--
| Rupert Westenthaler [email protected]
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen