Open GoogleCodeExporter opened 8 years ago
Sorry for the late reply; just stumbled on a similar issue; grepping the
Alfresco webapp files we found the file-mapping.properties defaults (in
./repository/config/org/alfresco/repo/module/tool/default-file-mapping.propertie
s)
# The default AMP => WAR file mappings
/config=/WEB-INF/classes
/lib=/WEB-INF/lib
/licenses=/WEB-INF/licenses
/web/jsp=/jsp
/web/css=/css
/web/images=/images
/web/scripts=/scripts
/web/php=/php
This means that - in order to add a file on src/main/amp/web - you need to add
a custom file-mapping.properties containing the following lines (as stated in
your comment)
include.default=false
/web=/
We have tested this with Alfresco Enterprise 4.2.1 and worked as expected.
Original comment by mauri...@session.it
on 18 Jun 2014 at 12:39
Next SDK release will contain a Share AMP archetype which includes this, as
well as share-config-custom.xml.example etc. See
https://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=70 for
more info
Original comment by o...@magenta-aps.dk
on 18 Jun 2014 at 12:43
Thanks,
Apart from the /themes mapping, the defaults should also include the mapping
for adding dojo extensions or component and module related javascripts.
such as:
/components
/modules
/js/
Original comment by alex.mah...@gmail.com
on 18 Jun 2014 at 12:55
Original issue reported on code.google.com by
douglascrp@gmail.com
on 30 Jan 2014 at 5:17