cancel
Showing results for 
Search instead for 
Did you mean: 

how to add new project in alfrseco environment

nancyaggarwal
Champ in-the-making
Champ in-the-making
Hi All,

I build the alfresco environment in eclipse using Ant and now i want to add new functionality to my share so i made new project in it and also make the build.xml and build.properties file for the same. but when i build whole environment using ant i am not able to see my new functionality appearing in alfresco share.

I am using alfresco community edition 4.2a.


Can anyone help me with this??


Thanks & Regards
Nancy
7 REPLIES 7

mlagneaux
Champ on-the-rise
Champ on-the-rise
Hello,
Could you give more details about how your new functionality is included into Alfresco? Do you use an AMP?

Hi,

Thanks for your reply. I just want to add a new custom dashlet into the dashboard and for that i created a new project in eclipse and added .xml, ftl and js file and build.xml and properties file to it.


I don't know how it will be reflected in alfresco?

Thanks
Nancy

romschn
Star Collaborator
Star Collaborator
What is the project structure you are using in eclipse, how have you defined it? What does your build file do? Does it create AMP? Does it update war and deploy it? Does it directly update the files to the exploded webapp? Please provide details.

hi Ramesh,

My project structure is as follows:

Project
   |_____source

   |_____Lib
   |_____config
   |_____build
   |_____build.xml
   |_____build.properties

My build file creates AMP and place the files directly in the webapp structure when the AMP is deployed.

I have attached my build.xml  file for further reference.

Regards
Nancy


Can anyone help!!

romschn
Star Collaborator
Star Collaborator
I did not get a chance to go through your build file, however at a quick glance it seems that you are using build file from share extras. What I would suggest is, take a look at the sample project in share extras. Here is the link for it - https://code.google.com/p/share-extras/wiki/SampleProject and set up the project structure according to that. Also, go though other dashlets available on share extras for reference so as you will get an idea and follow the same for your custom dashlet and that should get you going to make your custom dashlet working.

Hope this helps.

Hi Ramesh,

I done exactly what you told ut still the same…no success.

Regards
Nancy