[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: AW: JAR export includes .svn resources

From: Simon McClenahan <smcclenahan_at_healthcompartners.com>
Date: 2004-08-25 15:27:36 CEST

I do not have the class files under version control, they are separate src and bin directories for each project.

The src directory contains .svn directories, which everything in Eclipse considers these as resource files. This is why my Package Explorer view shows the packages for "com", "com.hcp", etc. even though there is no Java source in them. When I Export to a JAR, the exporter wants to include the .svn directory files as resources, which I obviously do not want.

I have tried editing the exclude option on the src directory, but that didn't work either

-----Original Message-----
From: Alblas Huibert [mailto:Huibert.Alblas@metro-cc.de]
Sent: Wednesday, August 25, 2004 2:43 AM
To: users@subclipse.tigris.org
Subject: AW: JAR export includes .svn resources

> -----Ursprüngliche Nachricht-----
> Von: Simon McClenahan [mailto:smcclenahan@healthcompartners.com]
> Gesendet: Dienstag, 24. August 2004 19:23
> An: Subclipse Users (E-mail)
> Betreff: JAR export includes .svn resources
>

(snipped the team stuff I don't know nothing about)

>
> In the Java Package Explorer view, when I open my src
> directory there are a lot of empty packages (no Java source)
> that Eclipse thinks contains only resources from the .svn
> directories. This becomes a problem when I want to Export as
> a JAR, it includes all of these .svn files.

I don't know if I understand you corectly,
but it looks like you have your .class files under versioncontrol.

in an eclipse project , I allways check the "create separate source and
output folders"
(like src and bin).
Then I add then bin Directory to svn:ignore.
There is no need to version the class files because eclipse regenerates them
all the time.

>
> Is this a bug in the Linux version? I recall that this
> problem magically disappeared when I was working in Windows.

This is what hinted me to the Projekt directory option.

Have fun,

Huibert Alblas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

--------------------------
NOTE: This message and any included attachments are from HealthCom Partners, LLC and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail.
Received on Wed Aug 25 23:27:36 2004

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.