Skip to content

0.7 - #13

Open
i-tek wants to merge 3 commits into
onesocialweb:0.7from
i-tek:0.7
Open

0.7#13
i-tek wants to merge 3 commits into
onesocialweb:0.7from
i-tek:0.7

Conversation

@i-tek

@i-tek i-tek commented Feb 8, 2011

Copy link
Copy Markdown

added missing dependencies to pom.xml to make it build successfully

@i-tek

i-tek commented Feb 11, 2011

Copy link
Copy Markdown
Author

Hi Diana,
i tried it again and maven output:

  • "osw-web/src/main/java/org/onesocialweb/gwt/client/ui/widget/contact/ContactPanel.java:[34,37] package com.allen_sauer.gwt.log.client does not exist"
  • "GWT Module com.calclab.emite.core.EmiteCore not found in project sources or resources."
  • "GWT Module com.calclab.emite.im.EmiteIM not found in project sources or resources."

Of course it could be found in the /lib/ folder but i thought maven was designed to use external sources to get dependencies.

@dcheng

dcheng commented Feb 11, 2011

Copy link
Copy Markdown
Contributor

Mmm, I installed it on a fresh clean computer. First checkout from github the osw-model and built it (mvn install). Then lib-gwt also built fine (both of them are required by osw-web) Finally tried with osw-web and it was fine all the way. Not sure what the problem could be :-/ . Can you try with an empty repository if you don't mind?

@duck1123

Copy link
Copy Markdown

I doubt this makes a difference, but are you invoking maven from the command line, or are you using an IDE (such as Eclipse) to build it?

If the latter, try the former.

@dcheng

dcheng commented Feb 11, 2011

Copy link
Copy Markdown
Contributor

I'm using pure command line. cloning the projects to and building them (first osw-model, then osw-lib-gwt and then osw-web) gives no problem, I end up with the osw-web-0.7-SNAPSHOT.war file.

Do you also have trouble building it, Daniel?

@i-tek

i-tek commented Feb 11, 2011

Copy link
Copy Markdown
Author

I usually use the command line to build it. I will now try to use a vanilla ubuntu to build it... perhaps i might find the mistake then...

[edit]
Well... I've tried to build it in my clean ubuntu and it failed...
The last difference which gets on my mind might be that i added the osw-model and lib-gwt dependencies as system files to avoid creating a repo... but that shouldn't influence the build...

@duck1123

Copy link
Copy Markdown

It builds fine for me. I was just offering a possible explanation as to why it's not working properly for i-tek. I thought maybe he was using an IDE that was doing something weird.

@i-tek

i-tek commented Feb 12, 2011

Copy link
Copy Markdown
Author

Hmm, how are you providing the osw-model and osw-lib-gwt builds for the osw-web project. I think you have pushed the builds of osw-model and osw-lib-gwt to the local maven library/repo so the maven build env. can find them there.

I replaced the following content of my pom.xml:

dependency
groupId org.onesocialweb groupId

artifactId osw-model artifactId

version 0.7.0-SNAPSHOT version

dependency

dependency
groupId org.onesocialweb groupId

artifactId osw-lib-gwt artifactId

version 0.7.0-SNAPSHOT version

dependency

with:

dependency
groupId org.onesocialweb groupId

artifactId osw-model artifactId

version 0.7.0-SNAPSHOT version

scope system scope

systemPath /abspath/osw-model/target/osw-model-0.7.0-SNAPSHOT.jar systemPath

dependency

dependency
groupId org.onesocialweb groupId

artifactId osw-lib-gwt artifactId

version 0.7.0-SNAPSHOT version

scope system scope

systemPath /abspath/osw-lib-gwt/target/osw-lib-gwt-0.7.0-SNAPSHOT.jar systemPath

dependency

so perhaps it doesn't include things from the whole build folder but the .jars....

I just don't know a solution...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants