13 listopada 2009
M2_REPO
Od paru dni używam Eclipse'a Galileo. Po zainstalowaniu nowego środowiska lokalne repozytorium Mavena nie było widoczne przez Eclipse, dlatego należało ustawić zmienną środowiskową M2_REPO, która będzie wskazywała na fizyczną lokalizację repozytorium. W tym celu postanowiłem zmodyfikować plik .bashrc i dodać w nim M2_REPO, aby nie mieć problemów przy instalowaniu nowej wersji IDE. Zrobiłem restart Ubuntu (który okazało się, że nie był konieczny) i uruchomiłem ponownie Eclipse'a. Niestety IDE wciąż nie widziało bibliotek wskazanych w pom.xml czyli wynikało z tego, że zmienna M2_REPO nie jest widoczna. Trochę się zdziwiłem wykonałem w terminalu komendę printenv, która jawnie wskazywała, że zmienna została utworzona. Nie chciałem już więcej się zastanawiać i stworzyłem zmienną M2_REPO pod Eclipse. Wszystko zaczęło działać poprawnie. Nie mam jednak pojęcia dlaczego Eclipse zignorował zmienną z .bashrc? Czyżby plik ten był wyłącznie uruchamiany kiedy odpalam konsolę? To też nie ma dla mnie sensu, bo Eclipse uruchamiam ręcznie z terminala.
Subskrybuj:
Komentarze do posta (Atom)
24 komentarze:
Zapewne eclipse uruchamiany jest spod innego użytkownika aniżeli ten, któremu ustawiłeś zmienną w .bashrc.
Nie jestem specjalistą od linuxa, ale Eclipse nie chodzi o zmienną środowiskową a o classpath variable którą dodaje się w preferencjach:
Window > Preferences ->
Java -> Buildpath -> Classpath variable.
Maven generując deskryptory projektów używa tej zmiennej by nie zaszywać w nich pełnych ścieżek.
Pozdrawiam,
Łukasz
dobry poczatek
In case you are pondering introducing adjustable dumbbells to
the home health and fitness center, or wish to switch the bulky set you own now,
the PowerBlock is without a doubt well worth a start looking.
Stop by my webpage bowflex for sale
In the event you come across on your own offering in to one of such temptations, attempt to not less than do
something.
Look at my site :: weights dumbells
Along with the large selection of bodyweight, you could do considerably higher
weighted shrugs and lunges as well as lighter workout routines like curls and raises just and quickly.
Review my page bowflex selecttech dumbbells
If we graph these modifications in usable power over the entire variety of motion
of any unique training, we have what is referred to since the power curve for that
exercise.
Look into my webpage; bowflex selecttech 552
You require a couple of gear for your P90X workouts.
My web page modells dumbbells
Very good site you have here but I was curious about if you knew of any discussion boards that cover the same topics talked about in this article?
I'd really love to be a part of online community where I can get suggestions from other experienced individuals that share the same interest. If you have any suggestions, please let me know. Appreciate it!
Here is my blog - Le Parfait Apple Stem Cell
Greetings I am so excited I found your blog, I really found you by accident, while I was browsing on Bing for something else, Nonetheless I am here now and
would just like to say cheers for a tremendous post and a all round entertaining blog (I also love the theme/design), I don’t have time to browse
it all at the moment but I have saved it and also added
your RSS feeds, so when I have time I will be back to read a
lot more, Please do keep up the excellent
jo.
Feel free to surf to my page: Le parfait skin
Hi there, You have done an incredible job. I'll definitely digg it and personally suggest to my friends. I'm confident they
will be benefited from this website.
My weblog ... Skin care
Remarkable things here. I am very glad to look your post.
Thank you so much and I'm looking forward to contact you. Will you please drop me a e-mail?
my web blog make money from home
If some one needs expert view about blogging then i
advise him/her to go to see this web site, Keep up the nice work.
Also visit my webpage; Muscle Rev Xtreme REviews
Everyone loves what you guys are up too. This type of clever work and reporting!
Keep up the awesome works guys I've added you guys to my own blogroll.
my web site :: LeParfait Review
you are truly a good webmaster. The web site
loading pace is amazing. It seems that you are doing any distinctive trick.
Moreover, The contents are masterpiece. you have
performed a excellent task on this matter!
Feel free to visit my web page: Skin care
We stumbled over here coming from a different web page and thought
I may as well check things out. I like what I see so now i'm following you. Look forward to going over your web page repeatedly.
Take a look at my web-site: muscle enhancers
Hello, its pleasant paragraph concerning media print, we all be familiar
with media is a fantastic source of information.
Have a look at my weblog: Le derme luxe review
Excellent weblog right here! Additionally your website so much up fast!
What web host are you using? Can I get your associate link in your host?
I wish my website loaded up as fast as yours lol
my web page :: Online Home Careers
I'm really loving the theme/design of your site. Do you ever run into any internet browser compatibility issues? A couple of my blog audience have complained about my blog not working correctly in Explorer but looks great in Opera. Do you have any solutions to help fix this issue?
Also visit my blog - Xtrasize Review
I do not know whether it's just me or if everyone else encountering problems with your blog. It looks like some of the written text in your content are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them as well? This may be a problem with my browser because I've
had this happen before. Many thanks
My web page - Buy home income kiit
Definitely imagine that which you stated.
Your favorite justification seemed to be on the web the simplest factor to bear in mind of.
I say to you, I certainly get irked even as people think about
worries that they just don't recognise about. You controlled to hit the nail upon the highest as smartly as outlined out the whole thing without having side-effects , other people could take a signal. Will probably be again to get more. Thanks
Feel free to surf to my web page :: Le parfait skin reviews
This is a topic which is near to my heart.
.. Take care! Exactly where are your contact details though?
my homepage - make money from home
This is the perfect webpage for everyone who would like to understand
this topic. You understand a whole lot its almost tough to argue with
you (not that I personally would want to…HaHa).
You certainly put a new spin on a topic that's been written about for ages. Excellent stuff, just great!
my web site: Skin care
Right now it sounds like Wordpress is the best blogging platform available right now.
(from what I've read) Is that what you are using on your blog?
Here is my page - Home income kit reviews
Prześlij komentarz