cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse-Alfreso different machines

iruizdeeguilaz
Champ in-the-making
Champ in-the-making
Hello

I would like to know whether it is possible to configure an ecplipse applitacion in different machine and how to put it in the alfresco-global.properties  dir.root…

I have imported skd 4.0 and I am using a comunnity version 4.0 to my first steps….

Thanks
4 REPLIES 4

iruizdeeguilaz
Champ in-the-making
Champ in-the-making
while I was waiting for a response about this issue I tried other thing, a opencmis example; I got a example from a public svn with two java classes and a pom.xml, I execute the pom to get the maven dependences, I a changed the url and the user/pass and I was able to connet with my Alfresco repository….. I only had a problem with a jar but it was easy to solve (slf4j-nop-1.7.5.jar)….

I am thinking that opnecmis looks easier

I will have to make a html form to upload documents with their metadata… managing the sessions, and searching in the repository….
perhaps the most suitable way is opencmis….

do you agree?

thanks

mrogers
Star Contributor
Star Contributor
I suggest you write your questions more clearly.

And don't hijack your own threads.

iruizdeeguilaz
Champ in-the-making
Champ in-the-making
ok

firstable, I got the sdk of Alfresco 4.0 and I tried to make a connection with my repostiroty from a Java application/eclipse. one of the fisrst things you have to do is configure alfresco-global.properties: there is a line called : dir.root…. all examples show how to do it when you have the eclipse in the same machine than the alfresco…. it was my first question

the second one was that I tried with the openCMIS client and it was easier… I did a little java app and I was able to upload a document with a custome type and a custom aspect… (create sessopn, create folder, create a document, define metadata)
I will have to do a java Web application (it is an existing one that I have to add a new tab) where the users can upload documents,changes and deletes…and they can make a litle searchs bassed in some metadata… I am new in Alfresco, in my first steps I feel that opencmis could be a good way to develop what I need…….

do you use opencmis to do this kind of things???? this was my second question…

mrogers
Star Contributor
Star Contributor
Dir root could point to a mapped drive.     However when developing you probably also want to start/stop/debug and reconfigure tomcat which is easiest if it is running locally.

Yes.  Open CMIS is the preferred remote API.