ksprojects / zkcopy

ZooKeeper copy utililty
Apache License 2.0
237 stars 94 forks source link

#3: CLI improvement #6

Closed kshchepanovskyi closed 8 years ago

kshchepanovskyi commented 8 years ago

Use commons-cli for reading configuration from command line.

raihan26 commented 8 years ago

I cloned this project and I imported in my eclipse but somehow it is not able to find this class "ImmutableConfiguration" in "ZkCopy" class. The error I see is this - "ImmutableConfiguration cannot be resolved". What library this class is part of? Or Am I missing something?

kshchepanovskyi commented 8 years ago

@raihan26 Run mvn clean install - this class is generated as a part of build process, check https://immutables.github.io/ for more information.

raihan26 commented 8 years ago

Ok that makes sense. If I am using everything from command prompt, it looks fine but in the eclipse how do I remove that error (I already ran clean install through eclipse)? I am able to run in eclipse though without any issues but everytime it complains that error is there in project but it does work fine without any issues.

kshchepanovskyi commented 8 years ago

Sorry, I'm not using Eclipse (switched to IntelliJ IDEA long time ago), so the only thing I can recommend - google for "java immutables eclipse" or something like this, most likely somebody had similar issue.

kshchepanovskyi commented 8 years ago

Maybe this will help: https://immutables.github.io/apt.html

raihan26 commented 8 years ago

Yeah that's what I am looking at. Thanks for the help.