Parent: [88f8e5] (diff)

Download this file

Readme.md    63 lines (39 with data), 3.7 kB

ERROR! The markdown supplied could not be parsed correctly. Did you forget to surround a code snippet with "~~~~"?

#Windows DLL Converter

Windows DLL Converter converts the JSON output from the Windows Wrapper Extractor develop by Miguel Nunes and converts it to Context, required for further preservation.

 

##How to get the code

    git clone https://@opensourceprojects.eu/git/p/timbus/context-model/converters/json-xml/windows-dll-web-wrapper-converter
 

 

##Install Requirements

1. [Oracle Java JDK 1.7](http://www.oracle.com/technetwork/java/javase/downloads/index.html)

 

##Format UUID

This version of Windows DLL Converter accepts the format 0997e4b4-e5aa-11e3-b2d9-001e378cabac 

##Required input

The common formating for an extraction includes the name of the extractor in question, a UUID from the extraction and a format. This format, as showed below, is a JSON Object displaying the format UUID (section above) and a boolean to indicate whether the result contains multiple extractions or not. Cases in which this is true are the Extractor Wrappers. 
An example of an individual extraction is shown below.

    #!json
    {
        "extractor" : "Windows Wrapper Extractor",
        "format" : {
            "id" : "0997e4b4-e5aa-11e3-b2d9-001e378cabac",
            "multiple" : false
        },
          "UUID" : "91dbaf55-b01c-11e3-9422-a58c1d99206c"
    } 

NOTE: Whereas the extractor name is optional, conversion format is mandatory. This converter will NOT be visible to the Converters API unless the format is provided. 

 

##Expected output
	 
This module converts from JSON to OWL, more specifically to [DIO](http://timbus.teco.edu/ontologies/DIO.owl) and the [DLL DSO](http://timbus.teco.edu/ontologies/DSOs/DLLDSO.owl). All dependencies are stored as DLL Packages and each second or higher level dependency is then connected to its parent (The DLL that depends on it) by the "realizes" property.
Other properties to enrich the context and each DLL are available and used: "hasLibraryName", "hasVersion", "hasLocation". However, contrary to conversions utilizing the CUDF DSO, a "realizes" relationship does not specify the required version (specific or with comparator). 
 

##Author

Miguel Gama Nunes <miguel.nunes@caixamagica.pt>
Jorge Simões <jorge.simoes@caixamagica.pt>

&nbsp;

##License

Copyright (c) 2014, Caixa Magica Software Lda (CMS).
The work has been developed in the TIMBUS Project and the above-mentioned are Members of the TIMBUS Consortium.
TIMBUS is supported by the European Union under the 7th Framework Programme for research and technological development and demonstration activities (FP7/2007-2013) under grant agreement no. 269940.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:   http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTIBITLY, or FITNESS FOR A PARTICULAR PURPOSE. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law or agreed to in writing, shall any Contributor be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work.
See the License for the specific language governing permissions and limitation under the License.