ace-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Offermans <>
Subject Re: Uploading a configuration file
Date Thu, 17 Oct 2013 19:24:24 GMT
Hello Ghania,

On Oct 17, 2013, at 21:14 PM, ghania ferrag <> wrote:

> When I tried to add configuration files (which are PDF and XML files) an error is displayed
: noting that particular artifact is not uploaded. 
> In the Apache Ace user guide it said that an artifact is anything from an OSGi bundle
to a configuration file.
> How we can upload a configuration file using ACE server UI?

Out of the box, ACE supports bundles and XML configuration files that follow the Auto Configuration
specification (chapter 115 in the OSGi compendium).

If you want to add support for other file types, you need to implement an ArtifactHelper and
ArtifactRecognizer and add those to ACE. Furthermore, you need to create a resource processor
bundle, add it as an artifact to ACE and then you can add your new files.

I really need to find some time to document that more elaborately and come up with an example.
For now, the best examples are in the ACE sourcecode.

> Also in the Ace user guide, the following  link
 ( adding support for new types of artifacts in ACE ) seems to be broken.

On what page exactly did you find that link? I could not find it. You can raise an issue for
that so we won't forget to fix it.

Greetings, Marcel

View raw message