I couldnt get a forum here which catered to Maven, so am putting it here.
Using my pom.xml i was able to generate the jar for src/main/java (say app.jar) as well as for src/test/java (say app-test.jar). I was also able to include my java sources as part of the app.jar (i.e. have both my .class as well as my .java files in the jar).
However for my app-test.jar, i'm not able to include my .class files in it.
This...
User Profile
Collapse
-
Related to adding java source to test jar in Maven
-
Usage of net.sf.saxon.TransformerFactoryImpl
Hi all,
I have a xsl and xml file which is transformed to a particular format. I make use of the net.sf.saxon.Tr ansformerFactor yImpl to do my transformation.
I'm actually timing the transformations to see how long they take. So basically i do a transformation of a file once, ten times and then 1000 times to see how long it takes.
Basically i put a timer statement before the for loop and a timer after the... -
Hmmm that is one way. But the problem is that i just get the html source of the page and not sure if i can add the comments. -
Use javascript to get TR contents
Hi all,
I'm writing a greasemonkey script wherein i make a GM_XmlHttpReque st to a site and get back a response. This response.respon seText gives me the html source of the page.
However the web page is built awfully and is now well formed. As a result i'm not able to build XMLObject properly as it gives a parsererror. I've tried to make the html better but there are too many to fix.
So what i was thinking... -
-
I looked the link you sent. But the problem is that offsetWidth gives the value as 1024 even if i dont give any initial width for my div.. So my condition for checking width>600 is always true, even if the contents inside the div take up 100 px.
So i guess dividing by a const is the only soln?Leave a comment:
-
Hi,
Sorry ya typo error in line2 its widthDiv. And yes i do want to set the width in px. So are you suggesting that i approximate the width, say by dividing the var len by a constant value?Leave a comment:
-
Hi,
This is the javascript code:
Code:var widthDiv = document.getElementById('mydiv'); var len = width.innerHTML.length; if(len > 800){ widthDiv.style.overflow ='scrollbar' }
Thanks,
NitinLeave a comment:
-
Changing Div width dynamically according to the contents.
Hi all,
I have a situation where i need to change the width of a div automatically according to the contents in it.
So say if width of the contents inside the div is 400 px then the width of div should be 400px, and also if it exceeds 600px the width should not increase beyond 600, but a horizontal scrollbar should come.
Thanks in advance,
Nitin -
Sorry guys. Should have googled first.
Found something here
However do let me know If anyone knows a better approach.
Thanks.Leave a comment:
-
Div sliding effect on open/close
Hi all,
I have a div which can be closed and opened on click of a section. Now what i would like to do is that on open and close the div should have a sliding effect.
Normally what we would do is that just apply the styles display:none or display:block, however in that case it just hides/shows instantly.
What i would like to do is have a sliding effect on open/close.
Is this possible to... -
Hmmm.. seems a strange problem with insertBefore in firefox. It rearranges the div only after clicking the link twice.
Found the prob
here
Seems like firefox takes up whitepaces as siblings.Leave a comment:
-
Thanks a lot. insertBefore was exactly the solution i was looking for. Short and precise.Leave a comment:
-
Problems in offsetLeft.
Hi all,
Im trying to do the following:
Have 3 divs which are placed side by side. each has a two links 'left' and 'right'. Say on click of the 'left' hyperlink of the 2nd div(middle), the 1st div should take the place of the middle div, while the middle one should take the place of the 1st place.
I'm using the prop offsetLeft, however have run into some issues. My code is shown below:
... -
Unexpected child
Hi,
while trying to transform an xsl file with a xml im getting the error Unexpected child
in my xsl the error is coming in the line where i declare xsl:template match=:
<xsl:template match="f">
<xsl:variable name="FPath">
What could be the reason -
-
Hi,
I think this should solve the problem.
http://answers.yahoo.c om/question/index?qid=20070 327232957AAukyQ 4
thanks...Leave a comment:
-
Hi,
Have you been able to do the functionality.
If not please post ur code so that we can have alook at it.
Thanks...Leave a comment:
-
-
Hi,
I think u might have not included aspnet as a new user for the database u are using. please use the sql management studio to do this if u already havent done so.
Thanks...Leave a comment:
No activity results to display
Show More
Leave a comment: