Building Lucee to Fix Issue 120

Hi Folks,

I’m kinda desperate to
get Log in with Atlassian account
fixed, so I’m looking into it myself. However, my Java Fu isn’t what it
once was (and it was never super great to begin with), so I’ve got issues,
and I doubt I’ll be able to fix my own ticket. I’m giving it a shot,
though, so I have some questions:

Question 1: How do I get line numbers out of Lucee classes in stack traces?

at lucee.loader.servlet.CFMLServlet.service(Unknown Source)

I’m just hacking, but this is what I thought to change to get more useful
information:

build-core.xml

<javac srcdir="${srcLoader}" target="1.6" destdir="${temp}/loader" 

debug=“true” >

My environment:

$ echo $JAVA_HOME

/cygdrive/c/Program Files/Java/jdk1.6.0_45

Then I built with “ant all”, which yielded “BUILD SUCCESSFUL”

I then unzipped dist/bundles/lucee-4.5.1.007-jars.zip into /opt/railo/lib/
and restarted Lucee. However, I still have the “Unknown Source” issue in
the stack traces, so I’m doing something wrong.

Question 2: Restarting Lucee is required, right? Also, is there a fancier
way to develop Lucee? Some way that the changes go “live” to my server more
automatically?

Thanks,
Jamie

P.S. I would not be offended if someone else tried to fix my ticket while I’m
working on it, myself. :wink:

Okay, never mind about question #1; I neglected to see the other javac
tasks in there, and I think this is the one that did it:

<javac srcdir="${srcCore}" target="1.6" destdir="${temp}/core" 

debug=“true”>

I’ve got line numbers now :smiley:

By the way, this is one of the more confusing comments I’ve seen. :wink:

<!-- copy all none java files to temp/core-->
<copy todir="${temp}/core">
  <fileset dir="${srcCore}">
    <exclude name="**/*.java"/>
    <exclude name=".*"/>
  </fileset>
</copy>

Question #2 still stands, BTW.On Thursday, February 26, 2015 at 11:21:59 AM UTC-5, Jamie Jackson wrote:

Hi Folks,

I’m kinda desperate to get
https://bitbucket.org/lucee/lucee/issue/120/npe-with-web-service-method
fixed, so I’m looking into it myself. However, my Java Fu isn’t what it
once was (and it was never super great to begin with), so I’ve got issues,
and I doubt I’ll be able to fix my own ticket. I’m giving it a shot,
though, so I have some questions:

Question 1: How do I get line numbers out of Lucee classes in stack traces?

at lucee.loader.servlet.CFMLServlet.service(Unknown Source)

I’m just hacking, but this is what I thought to change to get more useful
information:

build-core.xml

<javac srcdir="${srcLoader}" target="1.6" destdir="${temp}/loader" 

debug=“true” >

My environment:

$ echo $JAVA_HOME

/cygdrive/c/Program Files/Java/jdk1.6.0_45

Then I built with “ant all”, which yielded “BUILD SUCCESSFUL”

I then unzipped dist/bundles/lucee-4.5.1.007-jars.zip into /opt/railo/lib/
and restarted Lucee. However, I still have the “Unknown Source” issue in
the stack traces, so I’m doing something wrong.

Question 2: Restarting Lucee is required, right? Also, is there a fancier
way to develop Lucee? Some way that the changes go “live” to my server more
automatically?

Thanks,
Jamie

P.S. I would not be offended if someone else tried to fix my ticket
while I’m working on it, myself. :wink:

Jamie,

take the commented attribute and
add it into the javac command.

see if that gives you the information you need.

not sure why it’s commented in the first place, but we will fix that.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 2/26/2015 8:21 AM, Jamie Jackson wrote:

Hi Folks,

I’m kinda desperate to
get https://bitbucket.org/lucee/lucee/issue/120/npe-with-web-service-method
fixed, so I’m looking into it myself. However, my Java Fu isn’t what
it once was (and it was never super great to begin with), so I’ve got
issues, and I doubt I’ll be able to fix my own ticket. I’m giving it a
shot, though, so I have some questions:

Question 1: How do I get line numbers out of Lucee classes in stack
traces?

at lucee.loader.servlet.CFMLServlet.service(Unknown Source)

I’m just hacking, but this is what I thought to change to get more
useful information:

build-core.xml

<javac srcdir="${srcLoader}" target="1.6" destdir="${temp}/loader"

debug=“true” >

My environment:

$ echo $JAVA_HOME

/cygdrive/c/Program Files/Java/jdk1.6.0_45

Then I built with “ant all”, which yielded “BUILD SUCCESSFUL”

I then unzipped dist/bundles/lucee-4.5.1.007-jars.zip into
/opt/railo/lib/ and restarted Lucee. However, I still have the
“Unknown Source” issue in the stack traces, so I’m doing something wrong.

Question 2: Restarting Lucee is required, right? Also, is there a
fancier way to develop Lucee? Some way that the changes go “live” to
my server more automatically?

Thanks,
Jamie

P.S. I would not be offended if someone else tried to fix my ticket
/while/ I’m working on it, myself. :wink:


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/e79cbe3e-86aa-44a3-b21a-a35845ef9488%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e79cbe3e-86aa-44a3-b21a-a35845ef9488%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.