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

Trying to update, can't find original git clone folder #150

Closed
atuttle opened this issue Apr 7, 2016 · 4 comments
Closed

Trying to update, can't find original git clone folder #150

atuttle opened this issue Apr 7, 2016 · 4 comments

Comments

@atuttle
Copy link
Collaborator

atuttle commented Apr 7, 2016

I'm currently on an older version:

$ cflint --version
CFLint 0.5.0

Unfortunately I have no idea where I cloned this git repo into originally and can't find it. I cloned it again and ran mvn clean install, which says it completed successfully:

[INFO] Installing /Users/atcodes/DEV/CFLint/target/CFLint-0.6.1.jar to /Users/atcodes/.m2/repository/com/github/cflint/CFLint/0.6.1/CFLint-0.6.1.jar
[INFO] Installing /Users/atcodes/DEV/CFLint/pom.xml to /Users/atcodes/.m2/repository/com/github/cflint/CFLint/0.6.1/CFLint-0.6.1.pom
[INFO] Installing /Users/atcodes/DEV/CFLint/target/CFLint-0.6.1-all.jar to /Users/atcodes/.m2/repository/com/github/cflint/CFLint/0.6.1/CFLint-0.6.1-all.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:05 min
[INFO] Finished at: 2016-04-07T08:52:04-04:00
[INFO] Final Memory: 27M/419M
[INFO] ------------------------------------------------------------------------

But this doesn't seem to have upgraded my global install:

$ cflint --version
CFLint 0.5.0

which cflint points me to usr/bin/cflint which is a symlink to /usr/local/lib/cflint/bin/cflint, but that's an executable shell script and from there I'm lost.

How to I get my newly built version of cflint to replace the old one?

@atuttle atuttle changed the title Trying to update, can't find original git checkout folder Trying to update, can't find original git clone folder Apr 7, 2016
@mjclemente
Copy link

When I installed it, I had to point the cflint symlink to the binary it generated here: /installationPath/CFLint/target/appassembler/bin/cflint.

@atuttle
Copy link
Collaborator Author

atuttle commented Apr 7, 2016

With the default mvn clean install the only thing inside appassembler for me is an ant folder containing a build.xml file.

I found extra arguments (which looked familiar; I must have used them the first time around) in build-instructions.md... Changed them to: mvn clean install -D assembleDirectory=target/appassembler and everything from /usr/local/cflint is now in my target/appassembler folder. Running that executable with --version does indeed indicate it's 0.6.1 (current latest)... so now I just need to move those files into place or change the symlink.

@ryaneberly
Copy link
Contributor

Are you all set?

@atuttle
Copy link
Collaborator Author

atuttle commented Apr 21, 2016

Yup!

@atuttle atuttle closed this as completed Apr 21, 2016
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

3 participants