How to configure ANT using Subversion and ColdFusion Builder (eclipse) to test local builds?

I am not sure if there is an answer to this already - I could not find it for this (I hope, general) installation:

I recently converted one of my ColdFusion projects for deployment through ANT.

I have a local ant script that tells the remote server to check the code and run the build file of a specific application on the remote server.

I have several endpoints:

Live - production (on the production server). Installation - on the production server, another data source, etc. dev - in the local field.

What I came across seems to be a simple and common problem. Now I need ant to create any assembly, even locally. Fine, created a local endpoint and is configuring for my window.

Question? How do I get it as a project (automatically, if possible) in Eclipse / ColdFusion. What I present, instead of checking the branch through a subversion plugin in CFBuilder / Eclipse, now I use ant for this.

Since I use ColdFusion Builder (Eclipse + Adobe plugin), I have all the eclipse tools and plugins available to solve the problem: how can I best call ant from Eclipse / ColdFusion Builder to configure the local assembly as a project that I can work on to develop and work?

I think that when I check the code back in the local field, I have to be sure not to check files with local configuration paths, etc.

Hope this is a detailed and clear explanation, if not, ask.

Thanks in advance!

+4
source share
1 answer

You cannot automatically β€œdisplay” it in CFBuilder, but you can do this quite easily.

Eclipse requires a .project file, which is a simple XML file that usually usually contains the project name by default.

Once you check your project from SVN, make a file - new - a ColdFusion project and point it to the directory in which you checked your code. This will create a .project there. From there, you can transfer this file to SVN.

Subsequent developers who validate the project from SVN can then run the File - Import - Existing Project into the workspace and point it to their extracted location. Since there will be a .project file (from the moment of its creation), this project will be displayed when searching for projects in this import wizard.

Now, how do you do it if you have already used ANT to check the code. However, if you need an even simpler way, you can simply install the Subversive or Subclipse plugin in CFBuilder and then do

  • file - new - verification project from svn
  • provide your svn url
  • select the directory you want to check
  • choose the place where you want the code to live
  • click on completion
+6
source

Source: https://habr.com/ru/post/1309353/


All Articles