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

[Subclipse-users] A question about using checking out folders

From: Yungwei Chen <yungwei_at_resolvity.com>
Date: Tue, 15 Jun 2010 09:19:06 -0700 (PDT)

I have a branch in svn, which contains 5 child folders:
svn://host/server/branches/11_30_2009/a1
svn://host/server/branches/11_30_2009/a2
svn://host/server/branches/11_30_2009/a3
svn://host/server/branches/11_30_2009/a4
svn://host/server/branches/11_30_2009/a5

For project a1, I only need a1, a2, and a3. So I checked them out separately to my box. Their folder structure looks like the following:
${code.src.dir}/a1
${code.src.dir}/a2
${code.src.dir}/a3

Now when I try to get revision info from the working copy using the snippet below, I got an error.

<target name="get-revision-from-wc" description="Get revision info from a working copy.">
        <svn username="${svn.usr.id}" password="${svn.usr.pwd}" failonerror="true">
                <wcVersion path="${code.src.dir}" />
        </svn>
</target>

The error is the following. And I guess it's because ${code.src.dir} doesn't have the hidden _svn folder.
C:\server\runtime\build-clu.xml:78: The following error occurred while executing this line:
C:\server\runtime\build.xml:367: java.lang.NullPointerException

How can I check out a1, a2, and a3 folders so that the folder structure looks like the following? Thanks.
${code.src.dir}/11_30_2009/_svn (hidden)
${code.src.dir}/11_30_2009/a1
${code.src.dir}/11_30_2009/a2
${code.src.dir}/11_30_2009/a3

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2621982

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-06-15 18:26:56 CEST

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