Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re-Ordering of Source code

0 views
Skip to first unread message

yel...@my-deja.com

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to
Can anyone tell me whether or not VA Java 3.5
will allow the original method order in imported
source to be preserved ?

My colleagues are constantly giving me grief
about re-ordering their source when I make minor
changes in VA (they use J Builder or Cafe or
EMACS)

The other things I want to know are as follows:

1. will vaj2cvs work (we use CVS as our
repository)?

2. Has anyone tried the Weblogic integration kit?

3. Are the import export problems CR/LF related ?
I will be doing a lot of import/export to CVS.

4. Can tabs be converted to spaces ? This is
another point that gets me in trouble with my
workmates.

regards,
Peter Kelley

Business Logic Development Team Lead
Cortex eBusiness
pet...@cortexebusiness.com.au
"If you want to build a ship, don't drum up the
men to
gather wood, divide the work and give orders.
Instead,
teach them to yearn for the vast and endless sea."
- Saint-Exupery


Sent via Deja.com http://www.deja.com/
Before you buy.

peter.r...@iname.com

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to
There is an option with VA-Assist (1.5.3) which allows you
to prevent reordering of the methods -- or you can even
specify very fine grine how you want your methods to
be exported.


Peter Reinhardt

C. W. Damus

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to

yel...@my-deja.com wrote:

> Can anyone tell me whether or not VA Java 3.5
> will allow the original method order in imported
> source to be preserved ?

VAJ 3.5's Source View tab in the class browser allows you to reorder
methods. VAJ will remember the order that you specify.

> 3. Are the import export problems CR/LF related ?
> I will be doing a lot of import/export to CVS.

It looks to me like they're formatter-related. It seems that lots of
folks are using VA/Assist, and it formats their code (using VAJ's own
formatter) on import. The formatter is clearly broken.

> 4. Can tabs be converted to spaces ? This is
> another point that gets me in trouble with my
> workmates.

VAJ 3.5 has the option to convert tabs to spaces or use tabs. It seems
to work OK.


CW

Eric Clayberg

unread,
Oct 22, 2000, 3:00:00 AM10/22/00
to
"C. W. Damus" <cda...@damus-1.ca.nortel.com> wrote in message
news:39F035A7...@damus-1.ca.nortel.com...

>
> > 3. Are the import export problems CR/LF related ?
> > I will be doing a lot of import/export to CVS.
>
> It looks to me like they're formatter-related. It seems that lots of
> folks are using VA/Assist, and it formats their code (using VAJ's own
> formatter) on import. The formatter is clearly broken.

Yes, the formatter appears to have some problems in 3.5. As far as VA Assist
is concerned, however, the "format on import" option is not turned on by
default, so I don't know how many folks use it. We have run numerous tests
of formatting on import and have never encountered a problem ourselves.

-Eric Clayberg
Sr. Vice President of Product Development
Instantiations, Inc.
mailto:vaa-s...@instantiations.com
http://www.instantiations.com
http://www.instantiations.com/assist/

Yellek

unread,
Oct 23, 2000, 3:00:00 AM10/23/00
to
In article <39F035A7...@damus-1.ca.nortel.com>,

"C. W. Damus" <cda...@damus-1.ca.nortel.com> wrote:
>
>
> yel...@my-deja.com wrote:
>
> > Can anyone tell me whether or not VA Java 3.5
> > will allow the original method order in imported
> > source to be preserved ?
>
> VAJ 3.5's Source View tab in the class browser allows you to reorder
> methods. VAJ will remember the order that you specify.

How does this work on import ? Is the order of the original source file
remembered ?

>
> > 3. Are the import export problems CR/LF related ?
> > I will be doing a lot of import/export to CVS.
>
> It looks to me like they're formatter-related. It seems that lots of
> folks are using VA/Assist, and it formats their code (using VAJ's own
> formatter) on import. The formatter is clearly broken.
>

> > 4. Can tabs be converted to spaces ? This is
> > another point that gets me in trouble with my
> > workmates.
>
> VAJ 3.5 has the option to convert tabs to spaces or use tabs. It
seems
> to work OK.
>
> CW
>
>

--
Peter Kelley
"It's like swatting flies with a Laser Cannon, the aim's a little
tricky but it sure takes care of the flies" Miles Vorkosigan

C. W. Damus

unread,
Oct 23, 2000, 3:00:00 AM10/23/00
to

Yellek wrote:

> In article <39F035A7...@damus-1.ca.nortel.com>,
> "C. W. Damus" <cda...@damus-1.ca.nortel.com> wrote:
> >
> >
> > yel...@my-deja.com wrote:
> >
> > > Can anyone tell me whether or not VA Java 3.5
> > > will allow the original method order in imported
> > > source to be preserved ?
> >
> > VAJ 3.5's Source View tab in the class browser allows you to reorder
> > methods. VAJ will remember the order that you specify.
>
> How does this work on import ? Is the order of the original source file
> remembered ?

Yes (I think). It seems to be this which is causing horrible corruptions
in the Source View pane and export of classes that were originally imported
into VAj. Classes started from scratch in VAj don't seem to have the same
Source View/export troubles.

CW

C. W. Damus

unread,
Oct 23, 2000, 3:00:00 AM10/23/00
to

Eric Clayberg wrote:

> "C. W. Damus" <cda...@damus-1.ca.nortel.com> wrote in message
> news:39F035A7...@damus-1.ca.nortel.com...


> >
> > > 3. Are the import export problems CR/LF related ?
> > > I will be doing a lot of import/export to CVS.
> >
> > It looks to me like they're formatter-related. It seems that lots of
> > folks are using VA/Assist, and it formats their code (using VAJ's own
> > formatter) on import. The formatter is clearly broken.
>

> Yes, the formatter appears to have some problems in 3.5. As far as VA Assist
> is concerned, however, the "format on import" option is not turned on by
> default, so I don't know how many folks use it. We have run numerous tests
> of formatting on import and have never encountered a problem ourselves.

Right. I have since discovered that classes imported in VAJ 3.5 without VA
Assist are doomed to eternal munging. Classes created from scratch in VAJ do
not seem to have this plague. Is it possible that VAJ, itself, runs the
formatter on imported code?

Cheers,

CW

0 new messages