geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik B. Craig" <gineme...@gmail.com>
Subject Re: svn commit: r579758 - in /geronimo/devtools/j2g/trunk: eclipse/eclipse-3.3.xml plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-geronimo-plan.xml
Date Thu, 27 Sep 2007 17:15:40 GMT
Futerhmore,

I've dove into the eclipse SDK repository and taken a gander at the source
do org.eclipse.jdt.core.dom.CompilationUnit v771
(here:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnit.java?view=markup&pathrev=v_771
)
and found that the methods do in fact exist in this revision.

On 9/27/07, Erik B. Craig <ginemesis@gmail.com> wrote:
>
> I did some search/replace on the source files that it's actually having
> issues on...
> It seems as though it's not having any problem at all locating the
> org.eclipse.jdt.core.dom.CompilationUnit class... it's only the two
> methods (getLineNumber and getColumnNumber) that it doesn't recognize at
> all. Looking in the API doc for jdtcore ( http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/dom/class-use/CompilationUnit.html
> ) the methods are still the same, and have not been deprecated. I'm not
> quite sure what to make of this, especially since other methods from the
> same exact class are being picked up and compiling fine.
> This was while having the .classpath changed to use
> M2_REPO/org/eclipse/plugins/org.eclipse.jdt.core/3.3.0-v_771/org.eclipse.jdt.core-
> 3.3.0-v_771.jar.
>
> ... Slightly dumbfounded now, got any ideas?
>
>
> On 9/27/07, Erik B. Craig <ginemesis@gmail.com> wrote:
> >
> > Yeah, I actually just attempted the same thing. I'm trying to figure out
> > where it could be getting the hardcoded jar from though.
> >
> > On 9/27/07, Lin Sun <linsun.unc@gmail.com> wrote:
> > >
> > > Tried to change it to
> > >
> > > M2_REPO/org/eclipse/plugins/org.eclipse.jdt.core/3.3.0-v_771/org.eclipse.jdt.core-
> > > 3.3.0-v_771.jar
> > > didn't work either.  Right it seems somewhere it has hardcoded value
> > > to
> > > the old level of jars...
> > >
> > > Lin
> > >
> > > Donald Woods wrote:
> > > > Could it be the level of the org.eclipse.jdt.core jarfile listed in
> > > > plugins\org.apache.geronimo.j2g.sources\.classpath ?
> > > >
> > > > Seems the Eclipse 3.3 runtime provides 3.3.0-v_771 but the
> > > .classpath is
> > > > still using the older 3.1.1 level....
> > > >
> > > > -Donald
> > > >
> > > > Erik B. Craig wrote:
> > > >> Errmm, I got past this point, was silly firewall issues preventing
> > > it
> > > >> from hitting the mirror, however I believe I'm still having the
> > > same
> > > >> compilation issues as previously... I'll update when I can verify
> > > that...
> > > >>
> > > >>
> > > >>
> > > >> On 9/26/07, *Erik B. Craig* < ginemesis@gmail.com
> > > >> <mailto:ginemesis@gmail.com>> wrote:
> > > >>
> > > >>     I'm having some issues on my ubuntu machine with this... what
> > > >>     platform did you get this working on?
> > > >>
> > > >>           [get] last modified = Wed Dec 31 19:00:00 EST 1969 -
> > > using
> > > >>     current time instead
> > > >>          [echo] Unzipping eclipse-SDK-3.3-linux-gtk.tar.gz to the
> > > >>     expected location in /home/ebcraig/.m2/repository
> > > >>         [mkdir] Created dir: /home/ebcraig/.m2/repository/eclipse
> > > >>        [gunzip] Expanding
> > > >>     /home/ebcraig/.m2/repository/org/eclipse/eclipse/3.3/eclipse-
> > > >>     SDK-3.3-linux-gtk.tar.gz to
> > > >>
> > > >> /home/ebcraig/.m2/repository/org/eclipse/eclipse/3.3/eclipse-
> > > SDK-3.3-linux-gtk.tar
> > > >>
> > > >>     [INFO]
> > > >>
> > > >>
> > > ------------------------------------------------------------------------
> > > >>     [ERROR] BUILD ERROR
> > > >>     [INFO]
> > > >>
> > > >>
> > > ------------------------------------------------------------------------
> > > >>
> > > >>     [INFO] Error executing ant tasks
> > > >>
> > > >>     Embedded error: The following error occurred while executing
> > > this
> > > >> line:
> > > >>     /home/ebcraig/g-src/j2g/eclipse/eclipse-3.3.xml:60: Problem
> > > >>     expanding gzip Not in GZIP format
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>     On 9/26/07, *Donald Woods* <dwoods@apache.org
> > > >>     <mailto:dwoods@apache.org > > wrote:
> > > >>
> > > >>         Not sure why having WTP and its prereqs in the repo would
> > > cause
> > > >>         you build
> > > >>         problems, as this is exactly the same as we do for the WTP
> > > >>         server adapter
> > > >>         builds...
> > > >>
> > > >>
> > > >>         -Donald
> > > >>
> > > >>         linsun@apache.org <mailto: linsun@apache.org> wrote:
> > > >>         >  Author: linsun
> > > >>         >  Date: Wed Sep 26 12:04:16 2007
> > > >>         >  New Revision: 579758
> > > >>         >
> > > >>         >  URL: http://svn.apache.org/viewvc?rev=579758&view=rev
> > > >>         < http://svn.apache.org/viewvc?rev=579758&view=rev
>
> > > >>         >  Log:
> > > >>         >  These changes seem to fix GERONIMODEVTOOLS-224 on my
> > > machine
> > > >>         (with a clean .m2 repo).
> > > >>         >
> > > >>         >  Modified:
> > > >>         >     geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3.xml
> > > >>         >
> > > >>
> > > geronimo/devtools/j2g/trunk/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-
> > > >>
> > > >>         geronimo-plan.xml
> > > >>         >
> > > >>         >  Modified: geronimo/devtools/j2g/trunk/eclipse/eclipse-
> > > 3.3.xml
> > > >>         >  URL:
> > > >>
> > > >>
> > > http://svn.apache.org/viewvc/geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3.xml?rev=579758&r1=579757&r2=579758&view=diff
> > > >>
> > > >>
> > > >> <http://svn.apache.org/viewvc/geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3.xml?rev=579758&r1=579757&r2=579758&view=diff
> > > >
> > > >>
> > > >>         >
> > > >>
> > > >>
> > > ==============================================================================
> > >
> > > >>
> > > >>
> > > >>         >  --- geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3.xml
> > > >> (original)
> > > >>         >  +++ geronimo/devtools/j2g/trunk/eclipse/eclipse-3.3.xmlWed
> > > >>         Sep 26 12:04:16 2007
> > > >>         >  @@ -23,7 +23,7 @@
> > > >>         >
> > > >>         >      <target name="init">
> > > >>         >          <property name="eclipse_version"       value="
> > > 3.3"/>
> > > >>         >  -        <echo>Setting up for downloading Eclipse
SDK
> > > >>         v${eclipse_version}, WTP, EMF, GEF and DTP</echo>
> > > >>         >  +        <echo>Setting up for downloading Eclipse
SDK
> > > >>         v${eclipse_version}</echo>
> > > >>         >          <property name="base_url"               value="
> > > >>         http://www.eclipse.org/downloads/download.php?file="/>
> > > >>         >          <property name="eclipse_sdk_url"
> > > >> value="${base_url}/eclipse/downloads/drops/R-3.3-200706251500 /"/>
> > > >>         >          <property name="eclipse_sdk_win32"
> > > >> value="eclipse-SDK-${eclipse_version}- win32.zip"/>
> > > >>         >  @@ -32,15 +32,6 @@
> > > >>         >          <property
> > > >>
> > > name="eclipse_sdk_linux_gz"    value="${eclipse_sdk_linux}.gz"/>
> > > >>         >          <property
> > > >>
> > > name="eclipse_sdk_macos_gz"    value="${eclipse_sdk_macos}.gz"/>
> > > >>         >
> > > >>         >  -        <property name="dtp_download_url"
> > > >> value="${base_url}/datatools/downloads/1.5/"/>
> > > >>         >  -        <property name="emf_download_url"
> > > >>
> > > value="${base_url}/modeling/emf/emf/downloads/drops/2.3.0/R200706262000/"/>
> > > >>
> > > >>
> > > >>         >  -        <property name="gef_download_url"
> > > >> value="${base_url}/tools/gef/downloads/drops/R- 3.3-200706281000
> > > /"/>
> > > >>         >  -        <property name="wtp_download_url"
> > > >> value="${base_url}/webtools/downloads/drops/R2.0/R-
> > > >>         2.0-200706260303/"/>
> > > >>         >  -
> > > >>         >  -        <property name="dtp_sdk"
> > > >>         value="dtp-sdk_1.5_20070704.zip"/>
> > > >>         >  -        <property name="emf_sdo"
> > > >>         value="emf-sdo-xsd-SDK-2.3.0.zip "/>
> > > >>         >  -        <property name="gef_sdk" value="GEF-SDK-3.3.zip
> > > "/>
> > > >>         >  -        <property name="wtp_sdk"
> > > >>         value="wtp-sdk-R-2.0-200706260303.zip"/>
> > > >>         >          <property name="protocol"
> > > >>         value="&amp;r=1&amp;protocol=http"/>
> > > >>         >      </target>
> > > >>         >
> > > >>         >  @@ -89,62 +80,5 @@
> > > >>         >          <echo>Removing any existing version of
Eclipse
> > > at
> > > >>         ${LOCAL_M2_REPO}/eclipse</echo>
> > > >>         >          <delete dir="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >          <echo>Downloading WTP prereqs....</echo>
> > > >>         >  -        <antcall target="dtp"/>
> > > >>         >  -        <antcall target="emf"/>
> > > >>         >  -        <antcall target="gef"/>
> > > >>         >  -        <antcall target="wtp"/>
> > > >>         >  -    </target>
> > > >>         >  -
> > > >>         >  -    <target name="dtp" depends="init"
> > > description="Download
> > > >>         Data Tools Platform (DTP) artifact">
> > > >>         >  -        <echo>Downloading
> > > >> ${dtp_download_url}${dtp_sdk}</echo>
> > > >>         >  -        <mkdir
> > > >>
> > > dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}"/>
> > > >>         >  -        <get
> > > src="${dtp_download_url}${dtp_sdk}${protocol}"
> > > >>         >  -
> > > >>
> > > dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${dtp_sdk}"
> > > >>         >  -             verbose="true"
> > > >>         >  -             usetimestamp="true"/>
> > > >>         >  -        <echo>Unzipping ${dtp_sdk} to the expected
> > > location
> > > >>         in ${LOCAL_M2_REPO}</echo>
> > > >>         >  -        <mkdir dir="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >  -        <unzip
> > > >>
> > > >>
> > > src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${dtp_sdk}"
> > > >>         >  -               dest="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >  -    </target>
> > > >>         >  -
> > > >>         >  -    <target name="emf" depends="init"
> > > description="Download
> > > >>         Eclipse Modeling Framework (EMF) artifact">
> > > >>         >  -        <echo>Downloading
> > > >> ${emf_download_url}${emf_sdo}</echo>
> > > >>         >  -        <mkdir
> > > >>
> > > dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}"/>
> > > >>         >  -        <get
> > > src="${emf_download_url}${emf_sdo}${protocol}"
> > > >>         >  -
> > > >>
> > > dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${emf_sdo}"
> > > >>
> > > >>         >  -             verbose="true"
> > > >>         >  -             usetimestamp="true"/>
> > > >>         >  -        <echo>Unzipping ${emf_sdo} to the expected
> > > location
> > > >>         in ${LOCAL_M2_REPO}</echo>
> > > >>         >  -        <mkdir dir="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >  -        <unzip
> > > >>
> > > >>
> > > src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${emf_sdo}"
> > > >>         >  -               dest="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >      </target>
> > > >>         >  -
> > > >>         >  -    <target name="gef" depends="init"
> > > description="Download
> > > >>         Graphical Editing Framework (GEF) artifact">
> > > >>         >  -        <echo>Downloading
> > > >> ${gef_download_url}${gef_sdk}</echo>
> > > >>         >  -        <mkdir
> > > >>
> > > dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}"/>
> > > >>         >  -        <get
> > > src="${gef_download_url}${gef_sdk}${protocol}"
> > > >>         >  -
> > > >>
> > > dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${gef_sdk}"
> > > >>
> > > >>         >  -             verbose="true"
> > > >>         >  -             usetimestamp="true"/>
> > > >>         >  -        <echo>Unzipping ${gef_sdk} to the expected
> > > location
> > > >>         in ${LOCAL_M2_REPO}</echo>
> > > >>         >  -        <mkdir dir="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >  -        <unzip
> > > >>
> > > >>
> > > src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${gef_sdk}"
> > > >>         >  -               dest="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >  -    </target>
> > > >>         >  -
> > > >>         >  -    <target name="wtp" depends="init"
> > > description="Download
> > > >>         Web Tools Platform (WTP) artifact">
> > > >>         >  -        <echo>Downloading
> > > >> ${wtp_download_url}${wtp_sdk}</echo>
> > > >>         >  -        <mkdir
> > > >>
> > > dir="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}"/>
> > > >>         >  -        <get
> > > src="${wtp_download_url}${wtp_sdk}${protocol}"
> > > >>         >  -
> > > >>
> > > dest="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${wtp_sdk}"
> > > >>
> > > >>         >  -             verbose="true"
> > > >>         >  -             usetimestamp="true"/>
> > > >>         >  -        <echo>Unzipping ${wtp_sdk} to the expected
> > > location
> > > >>         in ${LOCAL_M2_REPO}</echo>
> > > >>         >  -        <mkdir dir="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >  -        <unzip
> > > >>
> > > >>
> > > src="${LOCAL_M2_REPO}/org/eclipse/eclipse/${eclipse_version}/${wtp_sdk}"
> > > >>         >  -               dest="${LOCAL_M2_REPO}/eclipse"/>
> > > >>         >  -    </target>
> > > >>         >  -
> > > >>         >  </project>
> > > >>         >
> > > >>         >  Modified:
> > > >>
> > > >>
> > > geronimo/devtools/j2g/trunk/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-
> > > geronimo-plan.xml
> > > >>
> > > >>         >  URL:
> > > >>
> > > >>
> > > http://svn.apache.org/viewvc/geronimo/devtools/j2g/trunk/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-geronimo-plan.xml?rev=579758&r1=579757&r2=579758&view=diff
> > > >>
> > > >>
> > > >> <http://svn.apache.org/viewvc/geronimo/devtools/j2g/trunk/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-geronimo-plan.xml?rev=579758&r1=579757&r2=579758&view=diff
> > > >
> > > >>
> > > >>         >
> > > >>
> > > >>
> > > ==============================================================================
> > > >>
> > > >>
> > > >>         >  ---
> > > >>
> > > >>
> > > geronimo/devtools/j2g/trunk/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-
> > > geronimo-plan.xml
> > > >>
> > > >>         (original)
> > > >>         >  +++
> > > >>
> > > >>
> > > geronimo/devtools/j2g/trunk/plugins/org.apache.geronimo.j2g.resources/test-apps/security/security-
> > > >>
> > > >>         geronimo-plan.xml Wed Sep 26 12:04:16 2007
> > > >>         >  @@ -28,7 +28,7 @@
> > > >>         >          <log:login-module control-flag="REQUIRED"
> > > >>         server-side="true" wrap-principals="false">
> > > >>         >
> > > >> <log:login-domain-name>jbossmq</log:login-domain-name>
> > > >>         >
> > > >> <log:login-module-class>
> > > org.apache.geronimo.security.realm.providers.SQLLoginModule</log:login-module-class>
> > > >>
> > > >>         >  -          <log:option
> > > >>         name="dataSourceName">DefaultDS/Test</log:option>
> > > >>         >  +          <log:option
> > > >>         name="dataSourceName">java:/DefaultDS/Test</log:option>
> > > >>         >            <log:option name="userSelect">SELECT
PASSWD
> > > FROM
> > > >>         JMS_USERS WHERE USERID=?</log:option>
> > > >>         >            <log:option name="groupSelect">SELECT
ROLEID,
> > > >>         'Roles' FROM JMS_ROLES WHERE USERID=?</log:option>
> > > >>         >          </log:login-module>
> > > >>         >
> > > >>         >
> > > >>         >
> > > >>         >
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>     --     Erik B. Craig
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Erik B. Craig
> > >
> > >
> >
> >
> > --
> > Erik B. Craig
>
>
>
>
> --
> Erik B. Craig




-- 
Erik B. Craig

Mime
View raw message