[jbosstools-issues] [JBoss JIRA] (JBIDE-22697) Javaee build contains untracked files, which need to be added to .gitignore to use jgit timestamps

Nick Boldt (JIRA) issues at jboss.org
Thu Jul 7 10:18:00 EDT 2016


Nick Boldt created JBIDE-22697:
----------------------------------

             Summary: Javaee build contains untracked files, which need to be added to .gitignore to use jgit timestamps
                 Key: JBIDE-22697
                 URL: https://issues.jboss.org/browse/JBIDE-22697
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: batch
    Affects Versions: 4.4.1.AM1
            Reporter: Nick Boldt
            Priority: Blocker


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

{code}
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
{code}

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? :(



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list