Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
So i just got internship at a firm and there we have to work with java. I have been a C guy all my life but i am familiar with the basic OOP fundamentals.
Now there is a file ivy.xml.
I asked someone what it was and how do i use it and I just got that it resolves all the dependencies in the code.
Now can someone help me in understanding what it is, what does one mean by the dependency resolution and how do i configure it to my uses?
Maybe a simple example can help understanding more quickly.
Thanks a tonne.
Ivy is a plugin to ant, one of the most popular build tools (a bit like make or autotools) for java. There are many ways in which it can be configured, both in that ivy.xml file and in the build.xml for ant. I'd stick with established practice already used in that firm, i.e. modify the structure of these files as little as possible. To understand the stuff already present, either read the manuals or provide file snippets along with specific questions.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
so here I got an open-source Android app which I must analyze and identify the structure of, things like its libraries, high-level architecture, configuration management, and testing facilities.
Now I understand where and how to look for the last two, but I still rather confused on how can I identify the libraries and architecture.
So what I'm asking is, how do I identify the architecture of an app and the libraries it uses? where do I look for it? what part of the source code? are there any tips to do this?
If there is any other info that I should provide, please do tell me.
Edit1: this is what I meant by high-level architecture, using Firefox as an example, but it doesn't have to be this technical, something more simple is also okay >>>
There are 1000s (maybe even millions) of questions on stack-overflow regarding Android development. The android documentation is itself highly exhaustive. And a simple query like "add library android project" can lead someone to answers like this.
What I am really trying to say is, a lot is already there. You just need to use it.
As for the original question :
Libraries
The dependencies can be found here. These are the external libraries that are used by this app.
-
Architecture
About that, you will mostly have to go through the code. Using Android-studio for that can be really helpful. You can use tools like this, but mostly, you will have to go through the code and understand it.
Furthermore, since its opensource project, there should be good documentation about it.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I'm new to git and also on eclipse.
I'm searching for the best way to keep my Eclipse projects under versioning but I'have found this topic a bit dispersive by surfing on google about it.
can I use git by the bash console or is request or highly advised to use a plugin?
I'm trying to understand the best practices about using git.
Does it takes too many time to commit manually by using the bash console?
thanks.
do what suits your needs best.
for adding changes to the stage and committing/pushing I'd suggest to use the IDEs plugin.
For more complex task (merging/rebasing) I personally prefer the git-bash. But this is only because I'm quite familiar with it.
So create a small trainig project and play around with the tools (especially do complex merge/rebase with conflicts to be resolved) and find out what fits to you.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have been working on Java and I am wondering how could I restrict people from accessing my code?
Is user-authorizing all classes (except driver) good enough? Or am I required to take further steps?
Any help would be appreciated.
Thank you.
Some of the more advanced Java bytecode obfuscators do much more than just class name mangling. Zelix KlassMaster, for example, can also scramble your code flow in a way that makes it really hard to follow and works as an excellent code optimizer...
Also many of the obfuscators are also able to scramble your string constants and remove unused code.
Another possible solution (not necessarily excluding the obfuscation) is to use encrypted JAR files and a custom classloader that does the decryption (preferably using native runtime library).
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I recently followed some spring related tutorials and I get the feeling that I will forget the concepts learnt so far quickly, since projects I am engaged in at the moment, do not use spring.
I would love to consolidate the things I have learnt and stay in touch with spring. My question is what kind of a project should I start in order cover most of the concepts that I learnt in spring?
Thanks.
Think of a Project for yourself. A photo sharing app for example. This is how I do it. I think of a project for myself and code it in my free time - thus stay in touch with Spring for example.
btw, my last project using spring has now over 100 registered users, which I did not expect and they all demand other functionality - this way you have to improve also.
I might suggest openshift as your deploy environment - it's free with plugins for eclipse.
You might also ask/answer spring related questions here on SO - this is always helpful of course.
Think about some examples and try to resolve with spring, Write blogs about spring, contribute some open source projects that use spring. This is the way that I learn spring and still doing. :)
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I usually code by myself but currently I need to do a java web-based project with 8 of my friends. I would like to ask the following questions:
1) How to document the development properly? Like how to keep a daily log? Any software or format suggested? What things do you think are important to be included in the log?
2) How to code together? Is there any software/IDE that allows a team to code together? Something ike google docs?
3) How to do a proper backup for a team project? Any software or tips to share?
Thank you very much!
Collaborative coding: its not the IDE that you can thank for collaborative coding, its all in distributed source control... like git or mercurial. Svn is also good for source control but is less good for collab.
Backup: git and mercurial solve this problem.
Documenting the project's progress is best suited in a task manager / project manager of some kind. I use projo project manager.. mostly because I wrote it. There's other well known apps out there like basecamp, and competitors.