dev-master
9999999-dev http://github.com/richardfullmerThis Bundle provides various tools to read, write and modify JDF
MIT
The Requires
- php >=5.3.2
- doctrine/doctrine-oxm-bundle master-dev
jdf
This Bundle provides various tools to read, write and modify JDF
A Symfony2 Bundle for working with the CIP4 Job Definition Format specification., (*2)
Status
below)RDFJobDefinitionFormatBundle uses the oxm and DoctrineOXMBundle projects from Doctrine., (*3)
Add the following to your deps
file:, (*4)
[RDFJobDefinitionFormatBundle] git=git://github.com/richardfullmer/RDFJobDefinitionFormatBundle.git target=/bundles/RDF/JobDefinitionFormatBundle [doctrine-oxm] git=http://github.com/doctrine/oxm.git target=/doctrine-oxm [DoctrineOXMBundle] git=http://github.com/doctrine/DoctrineOXMBundle.git target=/bundles/Doctrine/Bundle/OXMBundle
And run the vendors script:, (*5)
$ php bin/vendors install
Add the following to your composer.json
file:, (*6)
{ "require": { "rdf/job-definition-format-bundle": "master-dev" } }
Add the RDF
namespace to your autoloader:, (*7)
<?php // app/autoload.php $loader->registerNamespaces(array( // ... 'RDF' => __DIR__.'/../vendor/bundles', 'Doctrine\\OXM' => __DIR__.'/../vendor/doctrine-oxm/lib', 'Doctrine\\Bundle' => __DIR__.'/../vendor/bundles', ));
And make sure you register the OXM Annotations:, (*8)
// app/autoload.php AnnotationRegistry::registerFile(__DIR__.'/../vendor/doctrine-oxm/lib/Doctrine/OXM/Mapping/Driver/DoctrineAnnotations.php');
Enable the bundle in the kernel:, (*9)
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new RDF\JobDefinitionFormatBundle\RDFJobDefinitionFormatBundle(), new Doctrine\Bundle\OXMBundle\DoctrineOXMBundle(), ); }
TODO, (*10)
Unit tests can be run with phpunit
and dependencies included with composer.phar
:, (*11)
$ wget -nc http://getcomposer.org/composer.phar $ php composer.phar install $ phpunit --coverage-text
Richard Fullmer richardfullmer@gmail.com, (*12)
RDFJobDefinitionFormatBundle is licensed under the MIT License. See the LICENSE file for full details., (*13)
This Bundle provides various tools to read, write and modify JDF
MIT
jdf