Edit Library Path

Why it is not possible to edit library paths?
Will this be the final state of "Configure Project"?
Every time when i want to change the library path
i havbe to delte the old one and add a new one,
that not really usefull, please make the library paths
editable!


9 comments

I agree.

I also think that you should consider something similar for the library paths as you have in the Paths tab.

I could imagine having a directory view of the project on the left hand side and being able to browse to jar files there and pressing a button to add the selected jar to a library on the right hand side ("Mark Source", "Mark JavaDoc" and "Mark Classes"). You'd have an "Add Library" button at the top on the right side just like you have an "Add Content Entry" button at the top on the right in the Paths tab currently. When you add a library you could issue a name and then you'd select the source, classes and javadoc from the right hand side directory browser and add it with one of the three buttons. The three buttons would of course have to appear for each added library definition.

I don't know... this is just an idea but the current way of specifying libraries has been a problem and not many people like it too much I think. I think this might be more usable when you have to change the libraries often.

Any comments?

0

You'd have an "Add Library" button at the top on the right side just like you have an "Add Content Entry" button at the top on the right in the Paths tab currently

This should of course have been:
You'd have an "Add Library" button at the top on the right side just like you have an "Add Content Entry" button at the top on the left in the Paths tab currently

0

A content entry and a library are not the entities of the same level, they are different in their purposes: the content entry
specifies the scope of a module while a library specifies one or more jars used in your classpath together with their javadoc and
sources. Would be incorrect to mix their configuration in one tab.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"

"Stefan Freyr Stefansson" <stefanf@althingi.is> wrote in message news:15263441.1070965515032.JavaMail.javamailuser@localhost...

I agree.

>

I also think that you should consider something similar for the library paths as you have in the Paths tab.

>

I could imagine having a directory view of the project on the left hand side and being able to browse to jar files there and

pressing a button to add the selected jar to a library on the right hand side ("Mark Source", "Mark JavaDoc" and "Mark Classes").
You'd have an "Add Library" button at the top on the right side just like you have an "Add Content Entry" button at the top on the
right in the Paths tab currently. When you add a library you could issue a name and then you'd select the source, classes and
javadoc from the right hand side directory browser and add it with one of the three buttons. The three buttons would of course have
to appear for each added library definition.
>

I don't know... this is just an idea but the current way of specifying libraries has been a problem and not many people like it

too much I think. I think this might be more usable when you have to change the libraries often.
>

Any comments?



0

The UI supposes that library editing is not an operation you do every hour....
Why whould you want to change libraries so frequently?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Ercan Oezkan" <ercano@netropol.com> wrote in message news:br404h$33s$1@is.intellij.net...

Why it is not possible to edit library paths?
Will this be the final state of "Configure Project"?
Every time when i want to change the library path
i havbe to delte the old one and add a new one,
that not really usefull, please make the library paths
editable!

>
>


0

for example i have selected the wrong jar file, so want to edit
the entry and select the other one!


0

Well... not quite. I'd agree that in such cases it would be ok to just have to do it all over again.

The problem that we had was with continuous integration. We had library Foo that produced a jar file FooXX.jar where XX was the build number.

We've solved that and excluded the build number from the filename which has downsides (you can't see clearly what version of the library this is) but it has more benefits. So our problem is basically solved. But I just think that if you can provide a better way of changing libraries you should... but I do understand your point though.

So this has become a trivial issue for me personally.

0

for example i have selected the wrong jar file, so want to edit
the entry and select the other one!


In this case removing the old entry and adding a new one (note the dialog will open in the last opened directory), is not a big
deal. Anyway, typing the library path won't save much time.

--

Best regards,
Eugene Zhuravlev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"


"Ercan Oezkan" <ercano@netropol.com> wrote in message news:brk967$ojq$1@is.intellij.net...

for example i have selected the wrong jar file, so want to edit
the entry and select the other one!

>
>


0

hi,
i don't want to type the library path, i want to change by clicking
another jar file, also it can be very usefull if u can group libraries
in groups and give them names, under this groups u can
have more than one jar/zip file.
do you ever see libraries in JBuilder, this is very usefull to me,
u can group library files logically together.
for example, if u want to add 5 jar files, for XML parsing,
cou can create a group XML and put all the jar files inside.
it is much more readable.


0

Oh, "edit library" certainly makes sence.
As for creating library named library groups at the "Module Libraries" level - we'll think about it. Actually it was possible with
the previous UI, but we dropped it in order to simplify editing. Also we supposed that if one would like to create a named library
containing several jars - he/she will make it global or project level, not module level. Now that libraries UI is going to be
changed, we'll think about resurrecting the feature

--

Best regards,
Eugene Zhuravlev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"Ercan Oezkan" <ercano@netropol.com> wrote in message news:brmgpt$1cr$1@is.intellij.net...

hi,
i don't want to type the library path, i want to change by clicking
another jar file, also it can be very usefull if u can group libraries
in groups and give them names, under this groups u can
have more than one jar/zip file.
do you ever see libraries in JBuilder, this is very usefull to me,
u can group library files logically together.
for example, if u want to add 5 jar files, for XML parsing,
cou can create a group XML and put all the jar files inside.
it is much more readable.

>
>


0

Please sign in to leave a comment.