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 8037485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:56:33+00:00 2026-06-05T02:56:33+00:00

My requirement is as below: I will be having three projects. Main project (Grails

  • 0

My requirement is as below:

I will be having three projects.

  1. Main project (Grails project)
  2. Main project adaptor (Grails project)
  3. Domains plugin project (Grails project)

Domains plugin project will be having all of the domain classes and its test cases in it. So, I want to use those domain classes in other two projects. Here, I want to build Domains plugin project first, and the output of this build project should be the dependency of other two projects. I should be able configure this in BuildConfig.groovy.

Presently, I have done in the following way:

Created a plugin project using create-plugin and followed by package plugin command. Now, I kept that ZIP file in my lib folder and configured in Build-config.groovy. This works as expected. But, when ever I change domain classes, I need to do lot stuff. Like coping it to lib.

Is there any possibility to do in the first way I explained..!! Please help me out in this..!!

Thanks in advance

  • 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-06-05T02:56:35+00:00Added an answer on June 5, 2026 at 2:56 am

    You can use inline plugins – put all of your three projects at the same level (in the same directory) and then configure adaptor and domain plugin as inline plugins in Main project.
    That way you dont have to build each project separately, you can do changes in your domain plugin or adapter and they will get picked in main project automatically.

    Inside your main project’s BuildConfig.groovy

    grails.plugin.location.'adapter' = "../path-to-adapter-plugin"
    grails.plugin.location.'domain' = "../path-to-domain-plugin"
    

    Note – putting all three projects at same level isn’t required, but doing that will let you use relative paths – but if you want you can use absolute paths as well

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

Sidebar

Related Questions

We have the below requirement. We will have to create an excel/pdf report and
Below is my requirement. I will have two browse buttons on the page ,
First of all, I have a complicated requirement! and Im not sure it will
Could someone please help me with the code for below requirement or scenarios...I achieved
I have a simple requirement as mentioned below: A ListView or any control displays
Below is my requirement. @echo off cls Set Sleep=0 :start echo This is a
Please see the sample xml given below. As per a requirement, I need to
I have a requirement like below: We have 20 Message Driven Beans in our
I have a layout requirement like below, Textview TextView ListView Edit Text Button Since
I have a project requirement to render HTML and capture the rendered image as

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.