Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

gulp build:dist job does not copy HTML files #18

Open
tszewcow opened this issue Feb 20, 2015 · 2 comments
Open

gulp build:dist job does not copy HTML files #18

tszewcow opened this issue Feb 20, 2015 · 2 comments
Labels

Comments

@tszewcow
Copy link

gulp build:dist job does not copy HTML files into dist directory when html files already exist in the .tmp directory.

In the result - distribution version can't be built correctly if the .tmp directory exists.
Reproduction steps:

  1. run gulp serve / gulp build job
  2. run gulp serve:dist / gulp build:dist job
  3. there are no html files in the dist directory

When there is no .tmp directory, dist directory is built correctly (simply run gulp clean before gulp serve:dist)

@mmatczak mmatczak added the bug label Feb 20, 2015
@ghost
Copy link

ghost commented Jun 10, 2015

This bug also seems have an impact on building the webapp for deployment on tomcat (if you call "mvn install" in the oasp4js/java directory) because it relies on the build:dist job. Until it is resolved completely, we could add the workaround (deleting .tmp directory) to the java/pom.xml somehow. Does anybody know how to do this?

@ghost
Copy link

ghost commented Jun 10, 2015

Ok, I found it. "mvn clean install" does the job as it deletes .tmp in the clean process. However, the build is taking a while (over 3 minutes for a little project) because the node modules are deleted and reinstalled, too.
In the future, cleaning .tmp could be included in the gulp configuration, but I have no knowledge about gulp at all...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants