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

Is there a way to clean the source directory completely? #2529

Closed
nomadium opened this issue Jan 27, 2015 · 2 comments
Closed

Is there a way to clean the source directory completely? #2529

nomadium opened this issue Jan 27, 2015 · 2 comments

Comments

@nomadium
Copy link
Contributor

https://github.com/jruby/jruby/blob/master/BUILDING.md documents how to build jruby from source and it works OK.

However, I'm unable to find a way to clean the build the directory to restore it as it looked when was just cloned from the repo.

I tried several commands from the BUILDING guide but all of them leave and bunch of files in the directory. I tried:

  • mvn clean install -Pjruby-jars
  • mvn -Pclean
  • jruby -S rmvn -Pclean

Am I doing something wrong?

This is the output of mvn --version:

miguel@nina:~/packages/jruby/$ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-4-amd64", arch: "amd64", family: "unix"

Thanks.

@mkristian
Copy link
Member

git clean -dfx

since maven build does not clean up certain files in lib/ruby/gems/shared
(which is wanted) and there are probably a few other places (which is more
like bug).

On Tue, Jan 27, 2015 at 8:56 PM, Miguel Landaeta notifications@github.com
wrote:

https://github.com/jruby/jruby/blob/master/BUILDING.md documents how to
build jruby from source and it works OK.

However, I'm unable to find a way to clean the build the directory to
restore it as it looked when was just cloned from the repo.

I tried several commands from the BUILDING guide but all of them leave and
bunch of files in the directory. I tried:

  • mvn clean install -Pjruby-jars
  • mvn -Pclean
  • jruby -S rmvn -Pclean

Am I doing something wrong?

This is the output of mvn --version:

miguel@nina:~/packages/jruby/$ mvn --version
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-4-amd64", arch: "amd64", family: "unix"

Thanks.


Reply to this email directly or view it on GitHub
#2529.

@nomadium
Copy link
Contributor Author

Thanks, I was hoping that I could do the clean up with maven but that works OK.

@rtyler rtyler closed this as completed Jan 30, 2015
@enebo enebo added this to the Invalid or Duplicate milestone Jan 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants