Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Makefile #660

Merged
merged 1 commit into from
Oct 18, 2019
Merged

Enhance Makefile #660

merged 1 commit into from
Oct 18, 2019

Conversation

lusoalex
Copy link
Contributor

When using Make gravitee for the first time, we have an error:

/bin/sh: line 0: cd: .working/compose: No such file or directory
ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml

This is because there's nothing to stop and clean, as there is no working dir yet.

This PR will check if the working dir exists, if not, it will skip the stop & prune steps.

Regards,
Alexandre.

@lusoalex lusoalex force-pushed the feat/enhance_makefile branch 4 times, most recently from 4ecfa1b to 71f6a5d Compare October 12, 2019 14:20
Copy link
Member

@brasseld brasseld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still doesn't work:

/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cp gravitee-am-gateway/gravitee-am-gateway-standalone/gravitee-am-gateway-standalone-distribution/gravitee-am-gateway-standalone-distribution-zip/target/gravitee-am-gateway-standalone-Downloading from central: https://repo.maven.apaDownloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-help-plugin/2.1.1/maven-help-plugin-2.1.1.pom (8.3 kB at 8.3 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/17/maven-plugins-17.pom (13 kB at 45 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-help-plugin/2.1.Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-help-plugin/2.1.1/maven-help-plugin-2.1.1.jar (61 kB at 128 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maDownloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools-api/2.4.3/maven-plugin-tools-api-2.4.3.pom (4.6 kB at 16 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools/2.4.3/maven-plugin-tools-2.4.3.pom (9.9 kB at 34 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/jtidy/jtidy/4aug2000r7-deDownloaded from central: https://repo.maven.apache.org/maven2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.pom (1.3 kB at 4.6 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-7/plexus-container-default-1.0-alpha-7.pom (1.3 kB at 4.5 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/plexus/pleDownloaded from central: https://repo.maven.apache.org/maven2/plexus/plexus-containers/1.0.2/plexus-containers-1.0.2.pom (471 B at 1.6 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom ProDownloaded from central: https://repo.maven.apache.org/maven2/plexus/plexus-root/1.0.3/plexus-root-1.0.3.pom (6.0 kB at 21 kB/sDownloaded from central: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.pom (1.2 kB at 4.1 kB/s) Downloading from Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.pom (12 kB at 41 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream-parent/1.3/xstream-parenDownloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream-parent/1.3/xstream-parent-1.3.pom (14 kB at 49 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools-api/2.4.3/maven-plugin-tools-api-2.4.3.jar Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.jar Downloading from central: https://repo.maven.apache.org/maven2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar Downloading from central: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.jar Progress (1):Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugin-tools/maven-plugin-tools-api/2.4.3/maven-Downloaded from central: https://repo.maven.apache.org/maven2/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar (138 kB at 72Downloaded from central: https://repo.maven.apache.org/maven2/jdom/jdom/1.0/jdom-1.0.jar (153 kB at 73 kB/s) Progress (2): 229/Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.jar (266 kB at 110 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar (411 kB at 162 kB/s) 2.10.0-SNAPSHOT.zip .working/gateway'
make[1]: *** [install] Error 2
make: *** [gravitee] Error 2

@lusoalex lusoalex self-assigned this Oct 16, 2019
@lusoalex lusoalex assigned brasseld and unassigned lusoalex Oct 16, 2019
@lusoalex lusoalex force-pushed the feat/enhance_makefile branch 4 times, most recently from da57da4 to 487fcb2 Compare October 17, 2019 10:08
@brasseld brasseld merged commit c2b46f2 into master Oct 18, 2019
@brasseld brasseld deleted the feat/enhance_makefile branch October 18, 2019 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants