Comments (7)
Ensured that the .sh files by themselves do not seem to have any issues. But the released zip file, when extracted seems to have a \r
character which might be causing the issue. I believe it is because a Windows machine was used to run the build process.
As I try to fix the release, you can either run the command like sh simulate.sh
or run the below command to fix the file itself.
dos2unix simulate.sh simulate.sh
from mvn-repo-cleaner.
Can this work on Windows at all? It's my understanding that the Windows filesystem does not track access time.
from mvn-repo-cleaner.
Hi, I am trying to run simulate.bat but it shows me following error:
C:\Users\Tural\Downloads\mvn-repo-cleaner\src\assembly\scripts>java -jar mvn-repo-cleaner.jar -dr
Error: Unable to access jarfile mvn-repo-cleaner.jar
Could you help please?
from mvn-repo-cleaner.
@atural91 Seems like you are trying to run from the cloned repository. This batch file was made to be run from the release package. Can you try executing with the release zip file?
https://github.com/techpavan/mvn-repo-cleaner/releases/latest
from mvn-repo-cleaner.
Great!! Thank you
from mvn-repo-cleaner.
I bumped into this on macOS (using the release zip).
This explains the issue and how to resolve: https://github.com/koalaman/shellcheck/wiki/SC1017
from mvn-repo-cleaner.
Carriage returns do not exist on code nor release artifact. Checked in both latest and pre-latest. Probably the issue occurred due to involvement of a Windows machine (or ASCII mode) while transferring files.
from mvn-repo-cleaner.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mvn-repo-cleaner.