cancel
Showing results for 
Search instead for 
Did you mean: 

cgin-bin problem

sjeek
Champ in-the-making
Champ in-the-making
Hi,

I want to add an applet in alfresco, but the applet use also a cgi-bin folder with a applethelper.exe inside.
Now, when I use this method in a testproject, i works fine.
But, when I implement this in alfresco, the server can't find my cgi-bin folder.

web.xml
      <servlet>
      <servlet-name>CGIServlet</servlet-name>
      <servlet-class>weblogic.servlet.CGIServlet</servlet-class>
   </servlet>
   
   <servlet-mapping>
      <servlet-name>CGIServlet</servlet-name>
      <url-pattern>/cgi-bin/*</url-pattern>
   </servlet-mapping>
   

my cgi-bin folder is placed in the folder webapp (this is your web folder, but we named it wabapp because we build our alfresco with maven)

alfresco is always looking for the folder in: Server http://localhost:7001/alfresco/faces/jsp/browse/

someone an idea?

grtz
4 REPLIES 4

dschmalz
Champ in-the-making
Champ in-the-making
Hello,

Would you agree to post your pom.xml that you're using to build Alfresco from scratch? We're also considering Maven and this would definitely be helpful.

Thanks,
David

mindthegab
Champ in-the-making
Champ in-the-making
Maybe you can be interested in :

https://forge.alfresco.com/projects/m2alfresco


It's a maven archetype to build alfresco customizations…

HTH,
Gab

dschmalz
Champ in-the-making
Champ in-the-making
Thanks for sharing Gab,

it looks quite an interesting addition, I will give it a try. I agree with your comments in the generated pom that a better naming convention for the libraries would make the usage of Maven much easier.

David

mindthegab
Champ in-the-making
Champ in-the-making
Nothing man, I'd really love to see more professionals working in a professional way around Alfresco…

and I believe that aspects lifecycle management are too often under estimated

let's see if we can help in maturing Alfresco also on this aspect,
after the genius job they've done (and keep on doing) on the  features POV.

Interested in hearing your feedback…I'm gonna start an AMP archetype soon.

Ciao!