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

maven command does not work #2841

Closed
achabahe opened this issue Oct 20, 2016 · 8 comments
Closed

maven command does not work #2841

achabahe opened this issue Oct 20, 2016 · 8 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@achabahe
Copy link

achabahe commented Oct 20, 2016

i launch the mvn command build and deploy here are the settings for it
working directory:${current.project.path}
command line: clean install && cp ${current.project.path}/target/*.war $TOMCAT_HOME/webapps${current.project.relpath}.war
preview url :http://${server.port.8080}
and nothing gets displayed in the console
what i do is that I copy the command that gets printed and past it in the terminal

Reproduction Steps:

  1. select a web project in project explorer
  2. chose a maven build command
  3. launch the command

Expected behavior:
the project gets build and the maven output gets printed in the console of the launched command
Observed behavior:
the command gets issued but nothing is printed

Che version: 4.7.2
OS and version: Linux eclipseche-1-vm 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux
Docker version: 1.12.1
Che install: Bitnami

Additional information:

  • Problem started happening recently, didn't happen in an older version of Che: i don't know
  • Problem can be reliably reproduced, doesn't happen randomly: YES
@achabahe
Copy link
Author

achabahe commented Oct 20, 2016

it actually does its job . just the IDE does not show the prompt!! because i found errors when i inspected element in the browser and went to console

@TylerJewell
Copy link

TylerJewell commented Oct 20, 2016

@achabahe - this information is not packaged in a way where we can accept it as an issue. Please see our contributing guidelines and reformat your request with the information needed.

@achabahe
Copy link
Author

ok i will, sorry for that!

@JamesDrummond
Copy link
Contributor

@achabahe Some screenshots might help. The console from run commands does not accept user input. The terminal would need to be used to accept user input. Not sure if you are stating that there should be output generated by the tomcat server and it is not displaying on the console. If so, please provide the sample error message you are getting in the browser. Also check your pom.xml file to make sure you have the right logging dependencies. Take a look at the sample project "web-java-spring" for reference.

@achabahe
Copy link
Author

i forgot to tell you that i use the bitnami stack of eclipse che.
i installed the eclipse che in the google cloud using bitnami

In my personal computer where i use eclipse che which eclipse site , provide it does printing the output into the console when I launch the same maven command , yes i am sure of the configuration of pom,
capture
capture1

@bmicklea bmicklea added the kind/question Questions that haven't been identified as being feature requests or bugs. label Oct 31, 2016
@tolusha
Copy link
Contributor

tolusha commented Nov 1, 2016

I can't reproduce the issue.
@achabahe Does it occur often?

@ghost
Copy link

ghost commented Nov 1, 2016

@achabahe what you may want to try is expand project structure and select project root folder once again.

@TylerJewell
Copy link

Closing due to no response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

5 participants