Giter VIP home page Giter VIP logo

Comments (3)

dennis-behm avatar dennis-behm commented on August 13, 2024

Hi Nelson, I build a scenario and tried to reproduce your issue with the dbb-zappbuild from this repository. But I failed. The config files always got excluded - on fullBuild and also on impactBuild.

Are you sure, that you are pointing to the right application-conf/application.properties? Can you probably share the entire log?

from dbb-zappbuild.

dennis-behm avatar dennis-behm commented on August 13, 2024

I did a further investigation into this.

There is a scenario,

  • when the user already performed builds and built-up the collection,
  • then adds files to the exclude list,
    In this scenario, the impactResolver will returns references from the dbb webbapp / collection.

In the ImpactUtilites, these matches are not verified against the exclude file list; this happens in this part of the code:

def impacts = impactResolver.resolve()
impacts.each { impact ->
def impactFile = impact.getFile()
if (props.verbose) println "** Found impacted file $impactFile"
// only add impacted files that have a build script mapped to it
if (ScriptMappings.getScriptName(impactFile)) {
buildSet.add(impactFile)
if (props.verbose) println "** $impactFile is impacted by changed file $changedFile. Adding to build list."
}

It think it is valid, to check the exclude list also for the found impacted programs.

However, in this scenario, the collection should even not carry these dependencies.

@drbruce-git, what is your view on it?

from dbb-zappbuild.

nlopez1-ibm avatar nlopez1-ibm commented on August 13, 2024

Workaround tip provided by Nicolas, rescan the collection with the exclude of the CFG file to prevent the impact issue.

from dbb-zappbuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.