dumb question compiling

Former SVN Browser
nycdarren
Posts: 3
Joined: Thu Mar 23, 2006 5:21 pm

dumb question compiling

Postby nycdarren » Mon Apr 03, 2006 6:52 pm

First off, great interface and product :D

I was trying to compile from the svn web client repository in eclipse and having trouble
finding imports for com.polarion..... is there a jar that i'm missing somewhere?

darren

dobisekm
Posts: 118
Joined: Wed Mar 23, 2005 3:29 pm
Location: Prague, Czech Republic

Postby dobisekm » Tue Apr 04, 2006 8:28 am

Hi Darren,

actually you don't miss any jars. The SVNWebClient contains 2 alternatives for some classes - one are used in the stand-alone SVNWebClient and the others are used when SVNWebClient is bundled as a part of our Polarion DPP product. When compiling in Eclipse, then you should ignore the src/contrib/polarion source folder - it will fix your problem.

I hope this helps,

Michal Dobisek
Polarion Team

chris
Posts: 7
Joined: Wed Mar 22, 2006 7:54 am
Location: Shanghai

Postby chris » Mon Apr 10, 2006 3:37 am

yeah, chect it in detail you can find the message is "reduplicate import" error.

vakyx
Posts: 7
Joined: Mon Jun 05, 2006 7:31 pm

Postby vakyx » Fri Jun 16, 2006 9:29 pm

I must be doing something wrong but

if i ignore the src/contrib/polarion folder,

the src/java folder misses packages that can only be found in the contrib folder.

Which pops the com errors again when i retrieve those missing files.

never mind, i fixed my problem. (took some extra files by mistakes)

ivinnykov
Posts: 473
Joined: Tue Jan 03, 2006 11:57 am
Location: Kharkiv, Ukraine

Postby ivinnykov » Mon Jun 19, 2006 1:20 pm

Hello all,

Let me explain the project structure. It will help to compile the project.

SVNWebClient\src\java - WebClient code
SVNWebClient\src\contrib - contribution code, which consists of 2 streams:

SVNWebClient\src\contrib\polarion - Polarion version
SVNWebClient\src\contrib\standalone - standalone version

WebClient was designed to work in 2 environments - as embedded application or as standalone application. It is included into Polarion DPP as embedded application, but you download from site the standalone version. If you checkout from SVN the Eclipse project you will see compilation errors, because by default the source code is prepared for distribution with Polarion. The only thing, what you need to do in order to have standalone version compiled is remove SVNWebClient\src\contrib\polarion from source path and include SVNWebClient\src\contrib\standalone to it.

Summary:
For succesfull project compilation you should have 2 directories as a sources path:
SVNWebClient\src\java
SVNWebClient\src\contrib\standalone
Best regards,
Igor Vinnykov
Polarion Team

ayaseen
Posts: 12
Joined: Fri Jun 16, 2006 6:38 am
Contact:

Postby ayaseen » Thu Jun 22, 2006 12:03 pm

Dear ivinnykov.
I am working on build: 20060620-0140.

I have removed SVNWebClient\src\contrib\polarion from source path
and included SVNWebClient\src\contrib\standalone into source path.

But I am still having following 7 errors.

1) Cannot resolve plug-in: com.polarion.vcs.svn.
2) Cannot resolve plug-in: com.polarion.portal.tomcat.
3) Cannot resolve plug-in: com.polarion.vcs.svn.auth.
4) Cannot resolve plug-in: org.apache.log4j.
5) Cannot resolve plug-in: com.polarion.xray.core.
6) Cannot resolve plug-in: com.polarion.xray.web.

on these lines.
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="com.polarion.vcs.svn"/>
<import plugin="com.polarion.portal.tomcat"/>
<import plugin="com.polarion.vcs.svn.auth"/>
<import plugin="org.apache.log4j"/>
<import plugin="org.junit" optional="true"/>
<import plugin="com.polarion.xray.core"/>
<import plugin="com.polarion.xray.web"/>
</requires>

and
7) Unknown extension point: 'com.polarion.portal.tomcat.webapps'.
on this line.

<extension
point="com.polarion.portal.tomcat.webapps">
<webapp
name="svnwebclient"
contextRoot="webapp">
</webapp>
</extension>

Please guide me how can i resolve this problem.

Kind Regards
Aamir Yaseen

ivinnykov
Posts: 473
Joined: Tue Jan 03, 2006 11:57 am
Location: Kharkiv, Ukraine

Postby ivinnykov » Fri Jun 23, 2006 2:18 pm

Dear Aamir,

These references are defined in plugin.xml, located in project. This file doesn't required for standalone version (it is required only for Polarion version), so you can just drop (or rename) it. In any case project should work under Eclipse even with these problems.
Best regards,

Igor Vinnykov

Polarion Team


Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 2 guests