- This topic has 3 replies, 2 voices, and was last updated 20 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
Valentijn Van der HaegenMemberHi,
I am not using the Struts Libraries integrated in my installed MyEclipse Version. Therefore I would like to change the settings in the MyEclipse/J2EE/WebProject/Struts section of the Preference pages.
I noticed that when I add my own libraries, the complete system path is used. I would however like to use a predefined library path pointing to my own Struts directory.
Is this a possible addon, improvement??My Environment:
– Win2000
– JDK1.4.2_01
– Eclipse Version: 3.0.0 Build id: 200312182000
– MyEclipse Version: 3.6.200 Build id: 200401011200-3.7RC2Thanks in advance,
Regards,
Les.
Riyad KallaMemberLes, currently we use a predefined path of “MYECLIPSE_STRUTS_HOME” and point to each JAR and TLD included with Struts. Are you asking how you can setup a custom “MYECLIPSE_STRUTS_HOME”-type-variable and use it, or are you asking how you can setup a custom library set like the J2EE 1.3 libraries use?
If you are asking how to setup your own MYECLIPSE_STRUTS_HOME variable, check the Window>Preferences>Java>Classpath Variables page, its all in there. If you are asking to setup your own library set, that is not supported currently but there is a great Eclipse plugin that will let you do it here:
http://www.javango.net/eclipse/userlib.html
Valentijn Van der HaegenMemberHi,
I would like to use a custom “MYECLIPSE_STRUTS_HOME”-type-variable. I am definitly able to create a new variable using the Window>Preferences>Java>Classpath Variables page, but my problem lies in the fact that I cannot use or extend from that variable when adding a JAR to the eg. “Libraries required for Jakarta struts 1.1” option page.
Upon adding a JAR, the complete path is used while I would like to see an option allowing me to extend from such a variable to select a specific JAR file.
Does this make any sense to you??
As a pointer, this kind of functionality is available when I want to alter my “Java Build Path” in a project. On that page I get the option “Add JAR” and the option “Add Variable” (among others offcourse).
Using that “Add Variable” option, I am able to extend from that CLASSPATH varibale and choose a specific JAR file.Hope this clears everything out.
Regards,
Les.
Riyad KallaMemberOh yes I see what you mean now. This is not currently support but I will mark it as a feature enhancement and see what we can do.
-
AuthorPosts