Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1027479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:14:47+00:00 2026-05-16T12:14:47+00:00

When creating projects in Hudson, I usually have to check a few CVS repositories

  • 0

When creating projects in Hudson, I usually have to check a few CVS repositories and add a few files (e.g. properties) to build the project. This only has to be done once (or each time the project is checked out).

Currently I do this by manually copying the files with regular Linux commands after I have created the project and failed ant once. Since the files are usually the same except for a few path names, it would be useful to create the files with some kind of automatic process (e.g. Velocity), but I don’t know how to run a task only when the project is checked out for the first time.

Maybe there is a plugin for this, but I didn’t find any in the list.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T12:14:48+00:00Added an answer on May 16, 2026 at 12:14 pm

    First, if at all possible, you should add the files to what your Hudson project checks out from source control (since you can check out multiple modules/directories).

    Otherwise, I recommend adding the setup steps to you normal build process. Even though in the normal case the setup is only done once (you can check for existence before copying), it’s good to make it explicit that you depend on certain files copied from well-known locations. Eliminating manual steps makes builds easier to reproduce and can inform you about where there are dependencies on the environment.

    Once the setup is automated, it’s straight forward to add a build step at the beginning that calls a script to perform the pre-build procedure. (Or you can call the pre-build script directly from your standard build command, no extra step needed in Hudson.)

    When creating a new project, you can copy from an existing one. So, once you have a pre-build script set up, you can create a template project with that as the first build step. Then when you create a new project, copy from your template. We have templates for different projects with our standard repository setup and build steps customized to the platform. That also makes it easy to setup branch builds.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have two projects that build off the same source files, with
I am creating solution and inside I have three projects: A WCF Service Library
We have a bunch of maven2 projects in Hudson, all set to Poll SCM
After a big refactor involving creating new projects and moving files around between them,
I am creating 2 projects that have the same database (it's an MDF database).
This question is vital to one of my current projects involving creating HTML tables
Creating an ATL project in MSVC seems to create not one but two projects;
I have been using eclipse for years now creating php projects, and I have
In the past with XCode 4 I have been creating my new projects from
I'm creating a standard 'framework' in PHP for my own projects. On this point

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.