Compiling on Windows 7

22 views
Skip to first unread message

Ilkka Huotari

unread,
Oct 24, 2010, 7:34:15 PM10/24/10
to cspoker-discuss
Hi,

There is a ticket on this (id=40, at the bottom of the page), but I
thought of asking here.

I get this when trying to compile (with mvn) on Windows 7:


[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a
range [3.2.0,4.0.0)
org.eclipse.swt.win32.win32:x86_64:jar:null

from the specified remote repositories:
public.cspoker.org (http://cspoker.org:8080/nexus/content/groups/
public/),
central (http://repo1.maven.org/maven2),
maven1-repository.dev.java.net (http://download.java.net/maven/1),
maven2-repository.dev.java.net (http://download.java.net/maven/2/),
EclipseLink Repo (http://www.eclipse.org/downloads/download.php?
r=1&nf=1&file=/rt/eclipselink/maven.repo)

Path to dependency:
1) org.cspoker:client-gui-swt:jar:0.1-SNAPSHOT


.... any ideas?

Thanks.

Laurent Verbruggen

unread,
Oct 25, 2010, 1:31:55 PM10/25/10
to cspoker...@googlegroups.com
Hi,

The current maven repository in not suited for 64 bits.
Although I'm answering this message, I'm no longer actively involved in this project so I can't upgrade the maven repository to 64 bits.
I leave it to other admins to fix this issue.

Greets,
Laurent

2010/10/25 Ilkka Huotari <ilk...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "cspoker-discuss" group.
To post to this group, send email to cspoker...@googlegroups.com.
To unsubscribe from this group, send email to cspoker-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cspoker-discuss?hl=en.


Ilkka Huotari

unread,
Oct 25, 2010, 1:30:16 PM10/25/10
to cspoker-discuss
I guess it could work if that package
(org.eclipse.swt.win32.win32:x86_64) was in this repository:
http://cspoker.org:8080/nexus/content/groups/public/ ?

Ilkka Huotari

unread,
Oct 25, 2010, 2:37:27 PM10/25/10
to cspoker-discuss
OK, thanks. I noticed we typed those messages at the same time, so my
other reply was a bit redundant.

Guy Van den Broeck

unread,
Oct 25, 2010, 4:51:29 PM10/25/10
to cspoker...@googlegroups.com
2010/10/25 Ilkka Huotari <ilk...@gmail.com>

I guess it could work if that package
(org.eclipse.swt.win32.win32:x86_64) was in this repository:
http://cspoker.org:8080/nexus/content/groups/public/ ?

I can put jars in that repository, if you can provide them to me. 

Ilkka Huotari

unread,
Oct 25, 2010, 6:42:15 PM10/25/10
to cspoker-discuss
Hi,

I took it from the Eclipse CVS repository (http://dev.eclipse.org/
viewcvs/index.cgi/org.eclipse.swt.win32.win32.x86_64/), made a tar
into here:

https://dl-web.dropbox.com/get/org.eclipse.swt.win32.win32.x86_64.tar?w=bc1b221c&dl=1

Hope this will work, I'm not 100% sure.

Ilkka

Ilkka Huotari

unread,
Oct 25, 2010, 7:03:17 PM10/25/10
to cspoker-discuss
Hi,

Hmm, I'm not sure if my replies work... this said that post was
successful but they are not appearing and I'm anxious.

I made a tar file, would this work? http://goo.gl/glHX

Ilkka

Ilkka Huotari

unread,
Oct 25, 2010, 11:45:47 PM10/25/10
to cspoker-discuss
I did put a tar file of the package into a dropbox url - the url is in
the cspoker google code issue tracker (issue id 40).

Ilkka Huotari

unread,
Oct 25, 2010, 6:37:35 PM10/25/10
to cspoker-discuss
Hi,

I took it from the Eclipse CVS (http://dev.eclipse.org/viewcvs/
index.cgi/org.eclipse.swt.win32.win32.x86_64/)

I made a tar on here:
https://dl-web.dropbox.com/get/org.eclipse.swt.win32.win32.x86_64.tar?w=bc1b221c&dl=1

Not sure if everything is 100% correct but I tried.

Ilkka

Ilkka Huotari

unread,
Oct 26, 2010, 11:58:21 AM10/26/10
to cspoker-discuss
Hey, I see that my messages appeared here :)

Guy Van den Broeck

unread,
Oct 26, 2010, 12:01:42 PM10/26/10
to cspoker...@googlegroups.com
There is a spam filter for new members. Should not be a problem anymore for you.

2010/10/26 Ilkka Huotari <ilk...@gmail.com>
Hey, I see that my messages appeared here :)

Guy Van den Broeck

unread,
Oct 27, 2010, 11:16:04 AM10/27/10
to cspoker...@googlegroups.com
Ilkka,

Your dropbox link is not available to me (it tells me to log in).

Cheers,

Guy

2010/10/26 Ilkka Huotari <ilk...@gmail.com>

Ilkka Huotari

unread,
Oct 27, 2010, 9:22:29 PM10/27/10
to cspoker-discuss
Oops, I thought I tested that with another browser. Oh well.

Here's a new link: http://dl.dropbox.com/u/6176446/org.eclipse.swt.win32.win32.x86_64.tar

Sorry for messing things up :)

Ilkka

Ilkka Huotari

unread,
Nov 2, 2010, 1:38:20 PM11/2/10
to cspoker-discuss
It was my mistake earlier obviously, I'm sorry about the hassle. Hope
the new url works better.

Ilkka

Guy Van den Broeck

unread,
Nov 3, 2010, 6:33:43 AM11/3/10
to cspoker...@googlegroups.com
I uploaded the jar file to our Maven repository. It resides at

Can you verify whether this fixes the problem?

2010/11/2 Ilkka Huotari <ilk...@gmail.com>
It was my mistake earlier obviously, I'm sorry about the hassle. Hope
the new url works better.

Ilkka

Ilkka Huotari

unread,
Nov 18, 2010, 6:45:16 PM11/18/10
to cspoker-discuss
Thanks - and sorry for the delay.

It's not really compiling yet, but mvn suggests that I can install it
locally, so maybe that will work as a painless workaround. I can try
that, no problem.

The messages look like this (fyi):

[INFO]
------------------------------------------------------------------------
[INFO] Building CSPoker Client-GUI-SWT
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 77 resources
[INFO] artifact org.eclipse.swt.win32.win32:x86_64: checking for
updates from maven2-repository.dev.java.net
[INFO] artifact org.eclipse.swt.win32.win32:x86_64: checking for
updates from maven1-repository.dev.java.net
[INFO] artifact org.eclipse.swt.win32.win32:x86_64: checking for
updates from public.cspoker.org
[INFO] artifact org.eclipse.swt.win32.win32:x86_64: checking for
updates from central
Downloading: http://download.java.net/maven/2//org/eclipse/swt/win32/win32/x86_64/3.7/x86_64-3.7.pom
[INFO] Unable to find resource 'org.eclipse.swt.win32.win32:x86_64:pom:
3.7' in repository maven2-repository.dev.java.net (http://
download.java.net/maven/2/)
Downloading: http://download.java.net/maven/1/org.eclipse.swt.win32.win32/poms/x86_64-3.7.pom
[INFO] Unable to find resource 'org.eclipse.swt.win32.win32:x86_64:pom:
3.7' in repository maven1-repository.dev.java.net (http://
download.java.net/maven/1)
Downloading: http://cspoker.org:8080/nexus/content/groups/public//org/eclipse/swt/win32/win32/x86_64/3.7/x86_64-3.7.pom
297b downloaded (x86_64-3.7.pom)
Downloading: http://cspoker.org:8080/nexus/content/groups/public//org/eclipse/swt/win32/win32/x86_64/3.7/x86_64-3.7.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.eclipse.swt.win32.win32:x86_64:jar:3.7

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.swt.win32.win32 -
DartifactId=x86_64 -Dversion=3.7 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the
file there:

mvn deploy:deploy-file -DgroupId=org.eclipse.swt.win32.win32 -
DartifactId=x86_64 -Dversion=3.7 -Dpackaging=jar -Dfile=/path/to/file -
Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.cspoker:client-gui-swt:jar:0.1-SNAPSHOT
2) org.eclipse.swt.win32.win32:x86_64:jar:3.7

----------
1 required artifact is missing.

for artifact:
org.cspoker:client-gui-swt:jar:0.1-SNAPSHOT

from the specified remote repositories:
public.cspoker.org (http://cspoker.org:8080/nexus/content/groups/
public/),
central (http://repo1.maven.org/maven2),
maven2-repository.dev.java.net (http://download.java.net/maven/2/),
maven1-repository.dev.java.net (http://download.java.net/maven/1)

Guy Van den Broeck

unread,
Nov 19, 2010, 5:36:51 AM11/19/10
to cspoker...@googlegroups.com
The problem is thatr you sent me a .tar file, which should be a .jar fie.
Also, looking at its content, it should probably have a different directory structure, similar to the jar in

2010/11/19 Ilkka Huotari <ilk...@gmail.com>

Ilkka Huotari

unread,
Nov 19, 2010, 9:23:59 AM11/19/10
to cspoker-discuss
Agreed, I don't really know about that stuff. I will have to learn
more about it.

Maybe I will get back to it when I know what I'm doing :)

-I

On Nov 19, 12:36 pm, Guy Van den Broeck <guy...@gmail.com> wrote:
> The problem is thatr you sent me a .tar file, which should be a .jar fie.
> Also, looking at its content, it should probably have a different directory
> structure, similar to the jar inhttp://cspoker.org:8080/nexus/content/groups/public//org/eclipse/swt/...
> >http://download.java.net/maven/2//org/eclipse/swt/win32/win32/x86_64/...
> > [INFO] Unable to find resource 'org.eclipse.swt.win32.win32:x86_64:pom:
> > 3.7' in repository maven2-repository.dev.java.net (http://
> > download.java.net/maven/2/)
> > Downloading:
> >http://download.java.net/maven/1/org.eclipse.swt.win32.win32/poms/x86...
> > [INFO] Unable to find resource 'org.eclipse.swt.win32.win32:x86_64:pom:
> > 3.7' in repository maven1-repository.dev.java.net (http://
> > download.java.net/maven/1)
> > Downloading:
> >http://cspoker.org:8080/nexus/content/groups/public//org/eclipse/swt/...
> > 297b downloaded  (x86_64-3.7.pom)
> > Downloading:
> >http://cspoker.org:8080/nexus/content/groups/public//org/eclipse/swt/...
> > cspoker-discu...@googlegroups.com<cspoker-discuss%2Bunsubscribe@ googlegroups.com>
> > .
Reply all
Reply to author
Forward
0 new messages