Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22697

Javaee build contains untracked files, which need to be added to .gitignore to use jgit timestamps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.4.1.AM2
    • 4.4.1.AM1
    • batch
    • None

      Problem when building JavaEE since migration to jgit timestamps (JBIDE-13671):

      15:36:03 [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.25.0:build-qualifier (default-build-qualifier) on project org.jboss.tools.batch.core.itest: Working tree is dirty.
      15:36:03 [ERROR] git status batch/itests/org.jboss.tools.batch.core.itest:
      15:36:03 [ERROR] 
      15:36:03 [ERROR] Untracked files:
      15:36:03 [ERROR] batch/itests/org.jboss.tools.batch.core.itest/projects/TestProject/lib/javax.inject-1.jar
      15:36:03 [ERROR] batch/itests/org.jboss.tools.batch.core.itest/projects/TestProject/lib/javax.batch-api-1.0.jar
      15:36:03 [ERROR] 
      15:36:03 [ERROR] You are trying to use tycho-buildtimestamp-jgit on a directory that has uncommitted changes (see details above).
      15:36:03 [ERROR] Either commit all changes/add files to .gitignore, or enable fallback to default timestamp provider by configuring
      15:36:03 [ERROR] jgit.dirtyWorkingTree=warning for tycho-packaging-plugin
      

      Solution:

      add files generated as part of the build to .gitignore

      This has been failing for a week. Does no one see the Jenkins emails anymore?

            alexeykazakov Alexey Kazakov
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: