Alberto Posted July 18, 2012 Report Share Posted July 18, 2012 Is there any possibility to integrate plastic with apache continuum?. We are currently trying plastic in our developments just in our local machines, branching and colaborating between us. But at the end we upload the changes to our currently scm (sourround) to deploy the changes, which is done with apache continuum and ant. So we'd like to change the deployment to download the source code from plastic instead of sourround, but so far I have not found any tip or way to do that. Is there any possibility or we would need to change our integration system? Link to comment Share on other sites More sharing options...
manu Posted July 18, 2012 Report Share Posted July 18, 2012 Hello Alberto, can you tell me if sourround has a dedicated plugin for continuum or you issue sourround commands to perform the SCM actions? Link to comment Share on other sites More sharing options...
Alberto Posted July 19, 2012 Author Report Share Posted July 19, 2012 The ant gets the source code of the branch in this way: It defines a task: <taskdef name="SSCMGet" classname="com.seapine.surroundscm.ant.SSCMGet" classpath="${surround.support.lib}" /> And then it uses it to copy the files of each plugin in a directory (previously created): <SSCMGet file="/" overwrite="${SCM.overwrite}" branch="${SCM.clic.branch}" destdir="${clic.Base.src.dir}" force="${SCM.force}" includeremoved="${SCM.includeremoved}" quiet="${SCM.quiet}" recursive="${SCM.recursive}" repository="${SCM.clic.Base.repository}" serverconnect="${SCM.connection.adreca}:${SCM.connection.port}" serverlogin="${SCM.connection.usuari}:${SCM.connection.contrasenya}" failOnError="true" /> Maybe I could try to change this by a command ms-dos line that recovers the code from a given branch in plastic and execute it with ant. Link to comment Share on other sites More sharing options...
manu Posted July 19, 2012 Report Share Posted July 19, 2012 Maybe I could try to change this by a command ms-dos line that recovers the code from a given branch in plastic and execute it with ant. Yes, I think that's is the best and easiest solution, you know that you can use the "cm update --changeset=X" command to change your workspace to a given changeset number and also the "cm stb branchName" to perform an update operation to a given branch name. If you have any question about how to script the action don't hesitate to contact us. Link to comment Share on other sites More sharing options...
Alberto Posted July 19, 2012 Author Report Share Posted July 19, 2012 I'll try that way. But bear in mind that this build currently runs in a server which downloads the code, compiles it and leaves de code ready to deploy. So it only needs to connect to the scm and recover the code, but it does not have the scm installed (actually it's installed only the plugin to recover the code). If I have understood correctly, My ant should open the plastic client which I should have instal·led in the build server, point to a defined workspace and then change it to the desired one. Is there not another way to download the code of a certain branch or changeset of the plastic server in an empty local directory without worrying about sincronizing workspaces and so on?. Link to comment Share on other sites More sharing options...
manu Posted July 20, 2012 Report Share Posted July 20, 2012 Hi Alberto, yes, you need to have a Plastic SCM workspace but the whole process is easier than your thoughts. You don't have to be in change of syncing the source code or thinks like that, Plastic will be in charge of it when you decide to change the target build changeset. There will not be "thrash files" on your build area. Of course all the operations can be done using the command line client "cm.exe". Link to comment Share on other sites More sharing options...
Alberto Posted July 20, 2012 Author Report Share Posted July 20, 2012 Ok. Let's see how I deal with all that (for me it's a research issue, due to the fact that I have no experience in programming deployments, installing in server,...). Gracias por la información!. Link to comment Share on other sites More sharing options...
manu Posted July 20, 2012 Report Share Posted July 20, 2012 Sure, if you have any question don't hesitate in contact us! De nada! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.