
Some more unrelated questions on generation / deployment
Hi folks,
some more random questions on how SIDE works.... i just started over with a very minimalistic model, containing only one Data Diagram (i.e. Model "Foo", Class Package "Bar", Data Diagram "Main" and a single class "BasisDokument" with exactly one property "hopp").
1) In the created
module.SIDE_ModelExtension_Foo_Model.amp, i find some
web-client-config-custom.xml containing these language override:
Code:
<config evaluator="string-compare" condition="Languages" replace="true">
<languages>
<language locale="fr_FR">French</language>
</languages>
</config>
I suppose this doesnt make sense here, as i only want to extend my content model, and would do this kind of customization elsewhere....
2) In the generated model.xml, this fragment is generated:
Code:
<types>
<type name="Foo:Bar_BasisDokument">
<parent>bxcm:content</parent>
<!-- Properties -->
<properties>
<property name="Foo:Bar_BasisDokument_hopp">
<type>d:text</type>
<index enabled="false"/>
<constraints>
</constraints>
</property>
</properties>
However, i consider the name "Bar_BasisDokument_hopp" a bit lengthy, i'd prefer to have the short "hopp" here! So, is there some way to override the internal mechanism for output generation with some custom templates? Or something like that.
3) On successfull output generation, i have these files in my "out" folder:
Code:
module.SIDE_ModelExtension_Foo_Model.zip
com.bluexml.side.Class.generator.alfresco-stamp.xml
customAssociationManagement-1.1.6.amp
model-1.0.5.amp
module.SIDE_ModelExtension_Foo_Model.amp
mysql-connector-java-5.0.3.jar
upload-1.0.9.amp
So far i would need model-1.0.5.amp and module.SIDE_ModelExtension_Foo_Model.amp to deploy, but what are the others for?
Especially i wonder why the Side Alfresco Deployer Direct Deployer would deploy mysql-connector-java-5.0.3.jar, which doesn't make sense for me for two reasons:
* Alfresco 3.2 already comes with bundled mysql-connector-java-5.1.7-bin.jar
* Not all Alfresco installations run on mySQL... for example, we run Alfresco on PostgreSQL
Hope you can shed some light on this....
Cheers
Gyro