srbokhari / share-extras

Automatically exported from code.google.com/p/share-extras
0 stars 0 forks source link

Build.xml #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I have a query related to project structure you have defined.

Why  there is a need to define web folder (includes js , css and other assets)  
inside source folder. Basically we keep java files inside source folder which 
generates class files on  compile and class files are kept in the output folder 
and  non-Java resources are copied  directly to the output folder by the Java 
builder. If we have non-Java resources (js, css, for example) that should not 
be copied into the output folder, in that case we can create an ordinary folder 
and store the resources there.

Is it not possible to have web folder at the same level where source folder are 
created .

If someone is working on both alfresco DM and share project , then basically we 
create source folders to keep java files and web folder to keep js , jsps, 
images , css and other web related assets.

Another thing is you suggest to have following things:

For web-tier web scripts, place your scripts under 

alfresco/site-webscripts for your custom web scripts 
alfresco/web-extension/site-webscripts for any existing web-tier scripts that 
you want to override. 
For repository-tier web scripts, place scripts under 

alfresco/templates/webscripts for your custom web scripts 
alfresco/extension/templates/webscripts for any existing repository scripts 
that you want to override. 

My question is if we keep custom webscripts directly in  
alfresco/templates/webscripts folder or alfresco/site-webscripts folder then 
during upgrade I have  to take care of these folders also .If I keep everything 
in extension folder then it becomes easy to identify custom code during upgrade.

Please suggest.

Original issue reported on code.google.com by mahiam...@gmail.com on 9 Sep 2011 at 7:07

GoogleCodeExporter commented 8 years ago
Hi, since this is more of a discussion that an enhancement request, I would 
suggest you send an email to the developer e-mail group - 
http://groups.google.com/group/share-extras-devel. Alternatively the official 
Alfresco forums have a forum dedicated to Share development.

Original comment by will.abson on 7 Nov 2011 at 2:28