Hi, Karan.

So the root of your SJ archive is also the root of your Eclipse project? In 
that case, "/" seems
logical, but this is not something I tested, so I'm not sure it will work.

Would it be possible for you to move all of your SJ files to a new top level 
folder? Something
like dev or project or anything really. You could do this just for testing 
purposes to at least
verify what the problem is.

Then you'd set up the relative path to be "/dev/"

As for compiling, there should be a build.properties and build.xml in the SJ 
eclipse source tree
here:

http://dev.sourcejammer.org/BrowseArchive?Command=open_archive&archive_name=SourceJammer

You need to browse down into extensions/sjeclipse.

--Rob



--- "Gupta, Karan" <[EMAIL PROTECTED]> wrote:

> Hi Rob,
>  
> Sorry I am sending this to your personal email account.
> But this issue has me totally dumbfounded (now we know where that word can be 
> used :-).
> And I didn't know where to turn to for help.
> I've been going thru the sourcecode, and seems like I'm the first guy to post 
> something about
> the plugin in the forums.
>  
> Anyway, so I downloaded the SJ Eclipse plugin (great idea, btw) and am trying 
> to get it to work
> for my archive and project.
> Here's the scenario:
>  
> Eclipse project layout:
> I'm using Eclipse 3.1.1.
> C:\EclipseWSs\the_workspace
> C:\EclipseWSs\the_workspace\the_project
> C:\EclipseWSs\the_workspace\the_project\src
> C:\EclipseWSs\the_workspace\the_project\properties
> C:\EclipseWSs\the_workspace\the_project\docs
> C:\EclipseWSs\the_workspace\the_project\DB
> C:\EclipseWSs\the_workspace\the_project\libCompile
> C:\EclipseWSs\the_workspace\the_project\libRuntime
> .......
> and so on..
>  
> Now my archive completely follows the tree I have in eclipse.
> That means, ALL the directories and files under directory "the_project" are 
> in my archive (not
> just src or docs etc).
>  
> Archive setup:
> Archive name: the_project
> - the_project
>        --- src
>        --- properties
>        --- docs
>        --- DB
>        --- libCompile
>        --- libRuntime
> ... and so on...
>  
> I have set the SJ Eclipse properties in Project Properties:
> Server URL: http://fmms-internal1:8090/sourcejammer/servlet/rpcrouter
> Archive name: the_project
> Relative Path: this is where the problem is.
> I have tried everythign I could think of: "/", "/../", "/docs/../", 
> "the_project/",
> "/the_project", "/the_project/", "/ etc...but nothing seems to work.
> I looked through the source code and found this guy:
> private static String buildSJPathFromIPath(IPath path, 
> SJEclipseProjectProperties props){
>     //Build the full SJ path.
>     StringBuffer str = new StringBuffer();
>     str.append(props.getRelativePath());
>     str.append(path.toString());
>     String sjPath = str.toString();
>     System.out.println(sjPath);
>     return sjPath;
>   }
>  
> "The Relative Path setting must be the path in your SourceJammer archive to 
> the SJ folder that
> corresponds to the root of your Eclipse directory. 
> This path must begin and end with a forward slash (/) character."
> In my SJ tree the SJ folder which is the root of my Eclipse directory is / 
> (isn't it??).
> I am unable to use the plugin, bcoz I keep getting either Exceptions or 
> errors:
> java.lang.reflect.InvocationTargetException
> or
> Error: This project does not contain a child with the name: the_project. 
> Error: This project
> does not contain a child with the name: the_project.
>  
> Also, how can I compile just the plugin?
>  
> Please help me out, if u have some time.
>  
> Thank you,
> Karan Gupta
> Software Engineer
> TransCore, San Diego 
> (858) 826 - 2139 
>  
> 



                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
SourceJammer-users mailing list
SourceJammer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sourcejammer-users

Reply via email to