Hi Daniel,

you should not add the vm arguemtn in the debug configuration, change
it in the webconfiguration.

Well I can't say anything about what will be the affect of restructure
the app. Hupa uses the "default" maven2 multi-module layout.

Bye,
Norman

2009/9/15 Daniel Simons <[email protected]>:
> Hi Norman,
> After some minor frustration I did get it working...Thanks for your help.
> One way that my setup is different from the instructions in the readme.txt
> is that rather than creating a vm argument in the debug configuration, I
> simply created a conf folder in WEB-INF and copied the config.properties
> into it. So I have /war/WEB-INF/conf/config.properties.   This allows me to
> use the GWT default debug configuration.
>
> One other question...I am considering modifying the app in my own
> environment to not use Maven but instead a structure that is more familiar
> to me.  Are there any major pitfalls to altering the structure of Hupa that
> you know of?
> On Tue, Sep 15, 2009 at 5:21 AM, Norman Maurer <[email protected]> wrote:
>>
>> Hi Daniel,
>>
>> so all is working now ? If you have any improvements for the
>> README.txt just let me know..
>>
>> Thx,
>> Norman
>>
>> 2009/9/14 Daniel Simons <[email protected]>:
>> > I sincerely apologize for the newb issues...The ClassNotFoundException
>> > was
>> > due to the fact that ${project_loc} was undefined.
>> >
>> > On Mon, Sep 14, 2009 at 1:46 PM, Daniel Simons
>> > <[email protected]>
>> > wrote:
>> >>
>> >> Still haven't discovered the source of the
>> >> classNotFoundException....When
>> >> I perform 'maven package' the build fails with the following error:
>> >>
>> >> [INFO] hupa-parent ........................................... SUCCESS
>> >> [0.672s]
>> >> [INFO] hupa-shared ........................................... SUCCESS
>> >> [2.203s]
>> >> [INFO] hupa-server ........................................... SUCCESS
>> >> [1.969s]
>> >> [INFO] hupa-widgets .......................................... SUCCESS
>> >> [0.844s]
>> >> [INFO] hupa .................................................. FAILED
>> >> [1.906s]
>> >> [INFO]
>> >>
>> >> ------------------------------------------------------------------------
>> >> [ERROR]
>> >>
>> >> The following mojo encountered an error while executing:
>> >> Group-Id: org.apache.maven.plugins
>> >> Artifact-Id: maven-war-plugin
>> >> Version: 2.1-alpha-1
>> >> Mojo: war
>> >> brought in via: packaging: war
>> >>
>> >> While building project:
>> >> Group-Id: org.apache.hupa
>> >> Artifact-Id: hupa-client
>> >> Version: 0.0.1-SNAPSHOT
>> >> From file: C:\Documents and
>> >> Settings\dsimons\workspace\hupa\trunk\client\pom.xml
>> >> Reason: Failed to copy file for artifact[active project artifact:
>> >>     artifact = org.apache.hupa:hupa-server:jar:0.0.1-SNAPSHOT:compile;
>> >>     project: MavenProject: org.apache.hupa:hupa-server:0.0.1-SNAPSHOT @
>> >> C:\Documents and Settings\dsimons\workspace\hupa\trunk\server\pom.xml]
>> >>
>> >> Could these issues be related?
>> >>
>> >>
>> >>
>> >> On Mon, Sep 14, 2009 at 11:45 AM, Daniel Simons
>> >> <[email protected]>
>> >> wrote:
>> >>>
>> >>> Moving the JRE System Library to the bottom resolved the Access
>> >>> Restriction errors, but now I receive a new problem.  When I
>> >>> right-click on
>> >>> the hupa-parent project, then select run configuration, with
>> >>>
>> >>> -Dhupa.config.file=${project_loc}/server/src/main/webapp/WEB-INF/conf/config.properties
>> >>> included as a vm argument, I get the following ClassNotFoundException:
>> >>>
>> >>> java.lang.NoClassDefFoundError: and
>> >>> Caused by: java.lang.ClassNotFoundException: and
>> >>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>> >>>     at java.security.AccessController.doPrivileged(Native Method)
>> >>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>> >>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> >>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>> >>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> >>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> >>> Exception in thread "main"
>> >>>
>> >>> On Mon, Sep 14, 2009 at 1:57 AM, Norman Maurer <[email protected]>
>> >>> wrote:
>> >>>>
>> >>>> Hi Daniel,
>> >>>>
>> >>>> its me again ;) Could you try this to fix the restriction problem:
>> >>>>
>> >>>>  * Change the order of the libraries puting 'JRE System Library' at
>> >>>> the
>> >>>> bottom.
>> >>>>
>> >>>> I'm waiting for your feedback :)
>> >>>>
>> >>>> Bye,
>> >>>> Norman
>> >>>>
>> >>>> 2009/9/14 Norman Maurer <[email protected]>:
>> >>>> > Hi Daniel,
>> >>>> >
>> >>>> > I added a jira issue to keep track of this..
>> >>>> >
>> >>>> > https://issues.apache.org/jira/browse/LABS-449
>> >>>> >
>> >>>> > Thx for the feedback.
>> >>>> >
>> >>>> > Bye,
>> >>>> > Norman
>> >>>> >
>> >>>> > 2009/9/13 Daniel <[email protected]>:
>> >>>> >>
>> >>>> >> Could you describe the steps necessary to create the Maven2 hupa
>> >>>> >> project in Eclipse more explicitly?  I am unable to successfully
>> >>>> >> build
>> >>>> >> the project as a result of the javax.activation imports throwing
>> >>>> >> the
>> >>>> >> following error: Access restriction: The type DataSource is not
>> >>>> >> accessible due to restriction on required library C:\Program
>> >>>> >> Files\Java
>> >>>> >> \jdk1.6.0_11\jre\lib\rt.jar
>> >>>> >>
>> >>>> >> I found a guide to installing third party jars with maven ->
>> >>>> >>
>> >>>> >> http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html ,
>> >>>> >> however, I am unsure about how this is done via eclipse.
>> >>>> >>
>> >>>> >> Thanks,
>> >>>> >>
>> >>>> >> daniel
>> >>>> >> On Sep 5, 2:30 pm, Norman Maurer <[email protected]> wrote:
>> >>>> >>> Hi Satish,
>> >>>> >>>
>> >>>> >>> I'm no aware of any special steps needed to runHupain eclipse.
>> >>>> >>> Just
>> >>>> >>> make sure you have m2eclipse installed and declareHupaas Maven2
>> >>>> >>> project with nested modules.
>> >>>> >>>
>> >>>> >>> That's all.
>> >>>> >>>
>> >>>> >>> Bye,
>> >>>> >>> Norman
>> >>>> >>>
>> >>>> >>> 2009/9/5 Satish Puranam <[email protected]>:
>> >>>> >>>
>> >>>> >>>
>> >>>> >>>
>> >>>> >>> > Norman,
>> >>>> >>>
>> >>>> >>> > I am having trouble running ApacheHupain eclipse. No matter
>> >>>> >>> > what i
>> >>>> >>> > do i am alway getting these errors:
>> >>>> >>>
>> >>>> >>> > Resolving annotation '@GinModules({ClientDispatchModule.class,
>> >>>> >>> > HupaClientModule.class})'
>> >>>> >>> > [ERROR]
>> >>>> >>> > java.lang.ClassNotFoundException:
>> >>>> >>> > org.apache.hupa.client.gin.HupaClientModule
>> >>>> >>> > [ERROR] Failure to load module 'hupa'
>> >>>> >>> > java.lang.NullPointerException: null
>> >>>> >>>
>> >>>> >>> > I was wondering if you could post the steps about how should
>> >>>> >>> > one
>> >>>> >>> > go
>> >>>> >>> > about runningHupain eclipse.
>> >>>> >>>
>> >>>> >>> > Thanks
>> >>>> >>>
>> >>>> >>> > Satish
>> >>>> >>
>> >>>> >> >>
>> >>>> >>
>> >>>> >
>> >>>>
>> >>>>
>> >>>
>> >>
>> >
>> >
>> > >
>> >
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to