On 6/14/02 2:01 AM, "Cort Schaefer" <[EMAIL PROTECTED]> wrote:

> I have looked and played with Velocity and think that it would nicely fit a
> project that I am working on - except for the fact that the project is
> currently written in C#.  I would like to embed the engine, so I am not sure
> that I could get C# to Java communications working without reimplementing
> all of my classes over again in Java (if at all possible) - which would sort
> of defeat my porting question.
> 
> So, my first question is - does anybody know if this or something like this
> might already exist in the C#/.Net world?  I looked and could not find
> anything.
> 
> So that takes me to the next question, has this been asked before -
> specifically C#?  I searched the online archives and didn't see anything,
> but I am not sure I am even looking in the right place.  Is there interest
> in porting this project to C#?  Would anybody else be interested?  Would any
> kind of permission have to be granted to start an open source project, say
> on SourceForge, that was based on this work?

I am really interested in doing a C# port, but don't have the time.

You need no permission at all to do the port if you wish.  The Apache
license ensures that no restrictions like that can be placed upon the
software.  All it would require is that if any Velocity code is used
directly, then credit is given.

> 
> In the other porting post I saw (to C++), other than the Java/C++
> communication, introspection was the only other road block mentioned.  C#
> does support reflection and I have been able to do some simple things that I
> had used in Java before, so I wasn't seeing that as an immediate road block.
> Are there any other issues that anybody would like to point out?

The parser might be problematic, as we use Javacc to generate the parser.
However, if there are Java -> CLR tools (I think there are) then should be
able to produce .net binaries right from the sourcebase.

That would be the option I would bet on - if you could do that, you would
always be compatible with the Java version.


-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
[EMAIL PROTECTED]
+1-203-247-1713



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to