Carolyn Beeton wrote: > Currently, the classpath set in the Eclipse project files for sipXbridge > etc contain these paths: > > -bash-3.2$ git grep BUILD1 > sipXbridge/.classpath: <classpathentry kind="var" > path="SIPX-PROJECT-ROOT/BUILD1/sipXcommons/dist/sipxcommons.jar" > sourcepath="/SIPX-PROJECT > > sipXbridge/.classpath: <classpathentry kind="var" > path="SIPX-PROJECT-ROOT/BUILD1/sipXrelay/dist/sipXrelay.jar"/> > sipXopenfire/.classpath: <classpathentry kind="var" > path="SIPX-PROJECT-ROOT/BUILD1/sipXcommons/dist/sipxcommons.jar"/> > > Would there be any objections if I changed these to use a SIPX_BUILD_TOP > variable which would point to whatever the user's top level build > directory was (e.g. in my case, /home/cbeeton/commit/src/main/MYBUILD) > and could then be used by any project: > > sipXbridge/.classpath: <classpathentry kind="var" > path="SIPX_BUILD_TOP/sipXcommons/dist/sipxcommons.jar" > sourcepath="/SIPX-PROJECT > > sipXbridge/.classpath: <classpathentry kind="var" > path="SIPX_BUILD_TOP/sipXrelay/dist/sipXrelay.jar"/> > sipXopenfire/.classpath: <classpathentry kind="var" > path="SIPX_BUILD_TOP/sipXcommons/dist/sipxcommons.jar"/> > > and updated the wiki on Eclipse configuration to include > SIPX-PROJECT-ROOT and SIPX_BUILD_TOP (I'd really like to change the > dashs in SIPX-PROJECT-ROOT to underscores for more consistency…). The > EDE would also need to be changed. > > Carolyn >
This is what sipXconfig is currently using, but it comes from the time when it was this only project that was using Eclipse. http://sipx-wiki.calivia.com/index.php/SipX_ConfigServer_Eclipse#Configuration I'll happily move to SIPX_BUILD_TOP and SIPX_SRC_TOP or something like that. If someone documents suggested Eclipse environment vars on wiki, I'll change sipXconfig Eclipse projects accordingly. Could we also agree on the directory for Eclipse compiler output. sipXconfig is using bin.eclipse. I noticed other projects using "classes" or "build". Having a single name will simplify management of .gitignore and svn:ignore. You can check what's used currently: find -name .classpath | xargs grep output I am OK with any name as long as it has reference to "eclipse" in it. As much as I like Eclipse there is no reason why we should hijack the namespace if someone wants to use another IDE. D. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
